Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163944 钱炜懿 15反转数字 C++ Accepted 1 MS 272 KB 202 2026-10-31 15:22:58

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,d,s=0; cin>>n; while(n!=0){ d=n%10; s=s*10+d; n/=10; } cout<<s; return 0; }