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