记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:11:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 | cout << b << endl;
      | ^~~~
      | std::cout
iostream:61:18: note: 'std::cout' declared here
foo.cc:11:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 | cout << b << endl;
      |              ^~~~
      |              std::endl
In file included from iostream:39:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ostream:688:5: note: 'std::endl' declared here
  688 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1490 A. 完全平方数
比赛
2023年新生赛(第三场)
语言
C++
递交时间
2023-09-09 18:22:56
评测时间
2023-09-09 18:22:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes