Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
76674 sh25_wanghy 数字反转 C++ Accepted 0 MS 248 KB 236 2025-12-19 15:43:54

Tests(3/3):


#include <iostream> using namespace std; int main() { int n, result = 0; cin >> n; while (n != 0) { result = result * 10 + n % 10; n /= 10; } cout << result << endl; return 0; }


Judgement Protocol: