Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141369 张宇泽 15反转数字 C++ Accepted 1 MS 272 KB 178 2025-12-22 19:15:49

Tests(10/10):


Code:

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