| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 120984 | 王奕诺 | 08比较三个数大小II | C++ | Compile Error | 0 MS | 0 KB | 255 | 2025-06-02 17:50:32 |
#include <iostream> #include <cstdio> #include <iomanip> #include <cmath> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){ min = b; }else{ min = a; }if(c<min){ min = c; } }
Main.cc: In function 'int main()':
Main.cc:11:13: error: overloaded function with no contextual type information
min = b;
^
Main.cc:13:13: error: overloaded function with no contextual type information
min = a;
^
Main.cc:14:11: error: invalid operands of types 'int' and '' to binary 'operator<'
}if(c