Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
21316 gaoyx 倒序数 C++ 解答错误 0 0 MS 692 KB 152 2021-12-18 15:00:58

Tests(0/10):


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


测评信息: