Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104434 谭景年 04倒序输出五位数 C++ Compile Error 0 MS 0 KB 266 2025-01-04 20:44:21

Tests(0/0):


Code:

#include<iostream> //#include<> -> 导入 iostream=> 输入 输出 using namespace std; int main(){ int a=1; cin>>a; b=a%10 c=a%100%10 d=a%1000%100%10 e=a%10000%1000%100%10 cout<<b+c*10+d*100+e*1000+*10000; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: 'b' was not declared in this scope
     b=a%10
     ^