Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80828 秦浩然 04倒序输出五位数 C++ Compile Error 0 MS 0 KB 134 2024-07-11 16:32:12

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b; scanf("%5d%5d",&a,&b); cout<<b<<a; return 0; }


Run Info:

Main.cc:5:5: error: stray '\357' in program
     scanf("%5d%5d",&a,&b);
     ^
Main.cc:5:5: error: stray '\274' in program
Main.cc:5:5: error: stray '\214' in program
Main.cc: In function 'int main()':
Main.cc:5:26: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
     scanf("%5d%5d",&a,&b);
                          ^