Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163844 吴尔玉 15反转数字 C++ Accepted 1 MS 268 KB 169 2026-10-31 10:44:37

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long n,shu=0; cin>>n; while(n!=0){ shu=shu*10+n%10; n=n/10; } cout<<shu; return 0; }