Compile Error

foo.cc: In function 'int main()':
foo.cc:4:9: error: 'cout' was not declared in this scope
  n%m==0?cout<<n/m:cout<<n/m+1;
         ^~~~
foo.cc:4:9: note: suggested alternative:
In file included from foo.cc:1:0:
/usr/include/c++/7/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1712 心系南方灾区
语言
C++
递交时间
2021-05-21 21:16:44
评测时间
2021-05-21 21:16:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes