Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107139 李昊宇 15反转数字 C++ Accepted 1 MS 272 KB 159 2025-01-17 13:57:39

Tests(10/10):


Code:

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