Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
66107 李明择 15反转数字 C++ Accepted 1 MS 272 KB 189 2024-03-02 15:05:09

Tests(10/10):


Code:

# include<iostream> # include<cmath> using namespace std; int main(){ int n,a=0; cin>>n; while(n!=0){ a = a*10+n%10; n = n/10; } cout<<a; return 0; }