| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 39066 | fuhaoze | 数字反转 | C++ | Wrong Answer | 1 MS | 252 KB | 187 | 2024-01-30 15:38:35 |
#include<iostream> using namespace std; int main(){ int n,s=0; while(cin>>n){ s=0; while(n){ s+=s*10+n%10; n/=10; } cout<<s<<endl; } return 0; }