文章
21
粉丝
76
获赞
1
访问
13.2k
#include<stdio.h>
#include<string.h>
char a[1005];
char b[1005];
char c[1005];
int _max(int a,int b){
return a>b?a:b;
}
int main(void){
//多组输入
while(scanf("%s %s",a,b) !=EOF){
int la = strlen(a);
int lb = strlen(b);
for(int i = 0;i < la/2;i++){
char temp = a[i];
a[i] = a[la-i-1];
a[la-i-1] = temp;
}
for(int i = 0;i < lb/2;i++){
char temp = b[i];
...
登录后发布评论
暂无评论,来抢沙发