ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#211921 | #1. A+B Problem | 15338873915 | Compile Error | / | / | C++ | 84b | 2024-10-13 08:00:42 | 2024-10-13 08:00:43 |
answer
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a+b;
}
详细
answer.code: In function 'int main()': answer.code:5:5: error: ambiguous overload for 'operator>>' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'int') cin>>a+b;\x0d ^ answer.code:5:5: note: candidates are: In file included from /usr/include/c++/4.8/sstream:38:0, from /usr/include/c++/4.8/complex:45, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/stdc++.h:66, from answer.code:1: /usr/include/c++/4.8/istream:120:7: not...