| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138266 | 毛君浩 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 202 | 2025-11-24 16:09:28 |
#include<bits/stdc++.h> using namepace std; int main(){ int a,b,c; if(a>b){ if(a>c){ cout<<a; } else cout<<c; } else if(b>c){ cout<<b; } else cout<<c; return 0; }
Main.cc:2:7: error: expected nested-name-specifier before 'namepace'
using namepace std;
^
Main.cc: In function 'int main()':
Main.cc:7:4: error: 'cout' was not declared in this scope
cout<