Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68712 揭伟琦 04倒序输出五位数 C++ Compile Error 0 MS 0 KB 211 2024-03-24 14:01:34

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >>n; int a=n%10; int b=n/10%10; int c=n/100%10; int d=n/1000%10; int e=n/10000%10; cout <<a<<e<<d<<c<<b endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:11:23: error: expected ';' before 'endl'
  cout <