delete pics to save space
This commit is contained in:
14
history_source/信息学奥赛一本通/1.2.6.3.cpp
Normal file
14
history_source/信息学奥赛一本通/1.2.6.3.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int num(char a,char b,char c)
|
||||
{
|
||||
return (a-'0')*100+(b-'0')*10+c-'0';
|
||||
}
|
||||
int main()
|
||||
{
|
||||
char a,b,c;
|
||||
scanf("%c%c%c",&a,&b,&c);
|
||||
printf("%d\n",num(c,b,a));
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user