评测信息

运行ID: 52161
src.cpp:3:7: error: expected nested-name-specifier before 'namesapce'
using namesapce std;
^
src.cpp: In function 'int main()':
src.cpp:6:4: error: 'string' was not declared in this scope
string a;
^
src.cpp:6:4: note: suggested alternatives:
In file included from E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /iosfwd:39:0,
from E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /ios:38,
from E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /ostream:38,
from E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /iostream:39,
from src.cpp:1:
E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /bits/stringfwd.h:74:33: note: 'std::__cxx11::string'
typedef basic_string<char> string;
^
E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /bits/stringfwd.h:74:33: note: 'std::__cxx11::string'
src.cpp:7:5: error: 'cin' was not declared in this scope
cin>>a;
^
src.cpp:7:5: note: suggested alternative:
In file included from src.cpp:1:0:
E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
src.cpp:7:10: error: 'a' was not declared in this scope
cin>>a;
^
src.cpp:8:5: error: 'cout' was not declared in this scope
cout<<"Hello"<<""<<a<<endl;
^
src.cpp:8:5: note: suggested alternative:
In file included from src.cpp:1:0:
E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
src.cpp:8:27: error: 'endl' was not declared in this scope
cout<<"Hello"<<""<<a<<endl;
^
src.cpp:8:27: note: suggested alternative:
In file included from E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /iostream:39:0,
from src.cpp:1:
E:/OpenJudger2/Compilers/mingw/lib/gcc/mingw32/5.1.0/include/c /ostream:590:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>