mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
23 lines
377 B
C
23 lines
377 B
C
|
/*
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:ǧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>Ŀ:p1205 <EFBFBD><EFBFBD><EFBFBD>ʷ<EFBFBD>ת
|
|||
|
*/
|
|||
|
|
|||
|
#include <stdio.h>
|
|||
|
#include <string.h>
|
|||
|
|
|||
|
int main(int argc, char* argv[]) {
|
|||
|
char a[50][1000], i = 0;
|
|||
|
while(scanf("%s", a[i++]) != EOF);
|
|||
|
// for(i = 0; i < strlen(a) / 2; i++){
|
|||
|
// char s;
|
|||
|
// s = a[strlen(a) - i - 1];
|
|||
|
// a[strlen(a) - i - 1] = a[i];
|
|||
|
// a[i] = s;
|
|||
|
// }
|
|||
|
i--;
|
|||
|
while(i--)
|
|||
|
printf("%s ", a[i]);
|
|||
|
return 0;
|
|||
|
}
|