Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
109292 | 田诗语 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 268 | 2025-02-08 10:01:03 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b,c,max; cin>>a>>b>>c; if(a>=b&&a>=c){ max=a; } if(b>=a&&b>=c){ max=b; } if(c>=a&&c>=b){ max=c; } cout<<max;
Main.cc: In function 'int main()': Main.cc:16:14: error: expected '}' at end of input cout<