Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
628 通过 数字反转 C++ 通过 0 MS 244 KB 169 2022-05-21 19:37:51

Tests(10/10):


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


测评信息: