Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158705 王垚植 简单计算 C++ Compile Error 0 MS 0 KB 88 2026-08-22 16:48:21

Tests(0/0):


Code:

#include<bits/stdc++.h> using nameapce std; int main(){ cout<<120; return 0; }


Run Info:

Main.cc:2:7: error: expected nested-name-specifier before 'nameapce'
 using nameapce std;
       ^
Main.cc: In function 'int main()':
Main.cc:4:5: error: 'cout' was not declared in this scope
     cout<<120;
     ^
Main.cc:4:5: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:74:0,
                 from Main.cc:1:
/usr/include/c++/5/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^