Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
111803 徐文轩 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 174 2025-03-05 22:22:17

Tests(0/0):


Code:

#include<iostream> #include<cmath> #include<cstring> #include<cstdio> useing namespeam std; int main(){ int a,b; cin>>a>>b; cout<<a+b<<endl; return 0; }


Run Info:

Main.cc:5:1: error: 'useing' does not name a type
 useing namespeam std;
 ^
Main.cc: In function 'int main()':
Main.cc:8:5: error: 'cin' was not declared in this scope
     cin>>a>>b;
     ^
Main.cc:8:5: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^
Main.cc:9:5: error: 'cout' was not declared in this scope
     cout<& __os)
     ^