QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#288409#7782. Ursa Minorucup-team1682Compile Error//C++206.3kb2023-12-22 16:59:102023-12-22 16:59:11

详细

In file included from /usr/include/c++/11/cassert:44,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:33,
                 from answer.code:1:
answer.code: In member function ‘void unq1<T>::update(int, T, T)’:
answer.code:78:34: error: expected ‘)’ before ‘;’ token
   78 |             if(fl)assert(a>150000;)
      |                                  ^
answer.code:78:34: error: expected ‘)’ before ‘;’ token
answer.code:78:19: note: to match this ‘(’
   78 |             if(fl)assert(a>150000;)
      |                   ^~~~~~
answer.code:78:19: error: expected primary-expression before ‘)’ token
   78 |             if(fl)assert(a>150000;)
      |                   ^~~~~~