Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
80844 sh25_zhangyy 数字反转 C++ 通过 0 MS 244 KB 238 2026-01-04 15:33:24

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; }


测评信息: