Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115169 | 邹金行 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 196 | 2025-03-29 16:20:51 |
#include <iostream> using namespace std; int main(){ int a,b,c,max; cin>>a>>b>>n; if(a>b){ max=a; }else{ max=b; }if(max>c){ cout<<max; }else{ cout<<c; } return 0; }
Main.cc: In function 'int main()': Main.cc:5:13: error: 'n' was not declared in this scope cin>>a>>b>>n; ^