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

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:2: error: expected ';' before 'cout'
  cout<< num/10000 << num/1000%10   << num/100%10    <