QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#243608#7678. The Gameucup-team1130#Compile Error//C++171.5kb2023-11-08 14:58:222023-11-08 14:58:23

详细

answer.code: In function ‘void solve()’:
answer.code:41:13: error: ‘assert’ was not declared in this scope
   41 |             assert(j >= n - m);
      |             ^~~~~~
answer.code:12:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
   11 | #include <iomanip>
  +++ |+#include <cassert>
   12 | using namespace std;