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