Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
58229 | 王一涵(吃土豆长大的马铃薯) | 数字反转 | C++ | Accepted | 0 MS | 236 KB | 149 | 2024-12-05 16:51:17 |
#include<iostream> using namespace std; int main() { int n; cin>>n; while(n>=1) { int a=n%10; n=n/10; cout<<a; } return 0; }