11

#include <iostream>
using namespace std;
int main()
{
char str[2][100]={0};
cin>>str[0];
cin>>str[1];
char output[9]={0};
for(int i=0;i<2;i++)
{
int j=0;
while(str[i][j]!='\0')
{
output[j%8]=str[i][j];
if((j+1)%8==0&&j!=0)
cout<<output;
j++;
}
if((j-1)%8!=0)
{
for(int k=j;k++;k%8!=0)
output[k%8]='0';
cout<<output;
}

}
}

posted @ 2020-03-25 11:21  枫nian丶  阅读(69)  评论(0)    收藏  举报