Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88176 | 1234567890 | A+B 输入输出练习I | C++ | Compile Error | 0 MS | 0 KB | 185 | 2024-08-18 11:45:40 |
#include <iostream> using namespace std; int main(){ int a,b,c,A; cin>>a>>b; cin>>c; c=a+b; if(c!=c){ cout <<"no"<<endl; } else cout <<"yes; }
Main.cc:11:17: warning: missing terminating " character else cout <<"yes; ^ Main.cc:11:5: error: missing terminating " character else cout <<"yes; ^ Main.cc: In function 'int main()': Main.cc:12:1: error: expected primary-expression before '}' token } ^ Main.cc:4:15: warning: unused variable 'A' [-Wunused-variable] int a,b,c,A; ^