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
/*
|
|
鱗諒:푤쟁깥룐
|
|
痙커:p1205 데늦럇瘻
|
|
*/
|
|
|
|
#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;
|
|
}
|