QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#66173#5144. Set of IntervalsMaMengQiCompile Error//C++172.2kb2022-12-07 20:16:582022-12-07 20:17:00

Details

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 function ‘LL solve()’:
answer.code:116:20: error: ordered comparison of pointer with integer zero (‘int (*)[20]’ and ‘int’)
  116 |         assert(ans > 0);
      |                ~~~~^~~