Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78266 令狐文丽 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 130 2024-06-16 20:16:34

Tests(0/0):


Code:

#include《iostream》 using namespace std; int main(){ int a,b; cin>>a>>b>>endl; cout<<a+b<<endl; return 0; }


Run Info:

Main.cc:1:9: error: #include expects "FILENAME" or 
 #include《iostream》
         ^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
     cin>>a>>b>>endl;
     ^
Main.cc:5:16: error: 'endl' was not declared in this scope
     cin>>a>>b>>endl;
                ^
Main.cc:6:5: error: 'cout' was not declared in this scope
     cout<