记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:19:27: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’?
   19 |     std::cout << count << endl;
      |                           ^~~~
      |                           std::endl
In file included from iostream:41:
/nix/gcc-14-20241116/include/c++/14-20241116/ostream:741:5: note: ‘std::endl’ declared here
  741 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~

信息

递交者
类型
递交
比赛
2025年春 南师大《程序设计与竞赛》作业赛第五场
语言
C++
递交时间
2025-04-12 22:06:12
评测时间
2025-04-12 22:06:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes