delete pics to save space
This commit is contained in:
16
history_source/信息学奥赛一本通/1.8.2.cpp
Normal file
16
history_source/信息学奥赛一本通/1.8.2.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
char s[1000],*p;
|
||||
p=s;
|
||||
while(*p=getchar(),*p!='\n') p++;
|
||||
p--;
|
||||
while(p>=s)
|
||||
{
|
||||
printf("%c",*p);
|
||||
p--;
|
||||
}
|
||||
printf("\n");
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user