Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132072 胡海峰老师 04倒序输出五位数 C++ Compile Error 0 MS 0 KB 241 2025-10-05 12:04:40

Tests(0/0):


Code:

#include <iostream> //designed by lu 202509-0930 using namespace std; int main(){ int num; cin>>num; cout<< num/1%10; cout<< num/10%10; cout<< num/100%10; cout<< num/1000%10 cout<< num/10000; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:13:2: error: expected ';' before 'cout'
  cout<< num/10000;
  ^