| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138363 | xyc | 08比较三个数大小II | C++ | Compile Error | 0 MS | 0 KB | 223 | 2025-11-24 16:58:26 |
#include<iostream> using namespace std; int main(){ char a,b,c; cin>>a>>b>>c; if(a<b&&a<c){ cout"a"; } if(b<a&&b<c){ cout"b"; } if(c<a&&c<b){ cout"c"; }
Main.cc: In function 'int main()':
Main.cc:7:13: error: expected ';' before string constant
cout"a";
^
Main.cc:7:16: warning: statement has no effect [-Wunused-value]
cout"a";
^
Main.cc:10:13: error: expected ';' before string constant
cout"b";
^
Main.cc:10:16: warning: statement has no effect [-Wunused-value]
cout"b";
^
Main.cc:13:13: error: expected ';' before string constant
cout"c";
^
Main.cc:13:16: warning: statement has no effect [-Wunused-value]
cout"c";
^
Main.cc:14:5: error: expected '}' at end of input
}
^