Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164288 屠思宇 【基础题】三位数 C++ Accepted 1 MS 268 KB 205 2026-11-01 16:12:51

Tests(4/4):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int b=n/100; int s=n/10%10; int g=n%10; int ans=g*100+s*10+b; cout<<ans<<endl; return 0; }