Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
53845 | 张思存 | 数字反转 | C++ | Accepted | 0 MS | 240 KB | 186 | 2024-10-25 14:57:32 |
#include <iostream> using namespace std; int main() { int n; cin >> n; while (n >= 10) { cout << n%10; n/=10; } cout << n; return 0; }