mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 1741.c
This commit is contained in:
parent
0d0c9fe4ef
commit
58e2d0723b
19
QUSTOJ/1741.c
Normal file
19
QUSTOJ/1741.c
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
char a[1024];
|
||||||
|
char b[1024];
|
||||||
|
char c[1024];
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
gets(a);
|
||||||
|
gets(b);
|
||||||
|
int L=strlen(b);
|
||||||
|
int i;
|
||||||
|
for(i=0;i<L;i++)
|
||||||
|
{
|
||||||
|
c[L-1-i]=b[i];
|
||||||
|
}
|
||||||
|
printf("%s%s\n",a,c);
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user