记录详情

Compile Error

foo.cc:2:11: error: expected identifier before 'using'
    2 | namespace using std;
      |           ^~~~~
foo.cc:2:17: error: expected nested-name-specifier before 'std'
    2 | namespace using std;
      |                 ^~~
foo.cc: In function 'int main()':
foo.cc:4:2: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    4 |  cout<<"0";
      |  ^~~~
      |  std::cout
In file included from foo.cc:1:
/usr/include/c++/9/iostream:61:18: note: 'std::cout' declared here
   61 |   extern ostream cout;  /// Linked to standard output
      |                  ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
3-1 整数中的数字
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 20:08:16
评测时间
2022-07-28 20:08:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes