Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
47354 陈怡君 【基础题】三位数 C++ Accepted 4 MS 268 KB 190 2023-04-25 08:49:07

Tests(4/4):


Code:

#include<iostream> using namespace std; int main() { int x,a,b,c,s; cin>>x; a=x/100; b=x/10%10; c=x%10; s=a+b*10+c*100; cout<<s<<endl; return 0; }