Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147065 赖泓宇 04倒序输出五位数 C++ Compile Error 0 MS 0 KB 459 2026-02-02 16:34:47

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,c,d,e,f,g,h,i; cin>>a; b=a/10; c=a%10; d=b/10; e=b%10; f=d/10; g=d%10; h=f/10; i=f%10; cout<<c<<e<<g<<i<<h; return 0; } }


Run Info:

Main.cc:21:1: error: expected declaration before '}' token
 }
 ^