| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61064 | 于正 | 07比较大小 | C++ | Compile Error | 0 MS | 0 KB | 147 | 2023-11-26 13:28:34 |
#include<iostream> using namespace std; int main(){ int a b; cin>>a>>b; if(a>b){cout<<"a"; } else{cout<<"b"; } return 0; }
Main.cc:4:5: error: stray '\357' in program
int a b;
^
Main.cc:4:5: error: stray '\274' in program
Main.cc:4:5: error: stray '\233' in program
Main.cc: In function 'int main()':
Main.cc:4:11: error: expected initializer before 'b'
int a b;
^
Main.cc:6:5: error: 'a' was not declared in this scope
if(a>b){cout<<"a";
^
Main.cc:6:7: error: 'b' was not declared in this scope
if(a>b){cout<<"a";
^