QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#354085 | #8340. 3 Sum | ucup-team1659 | Compile Error | / | / | C++14 | 3.8kb | 2024-03-14 21:21:02 | 2024-03-14 21:21:02 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:119:33: error: ‘assert’ was not declared in this scope 119 | assert(prt<=2*n*n); | ^~~~~~ answer.code:6:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’? 5 | #include<cstdlib> +++ |+#include <cassert> 6 | answer.code:72:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 72 | scanf("%s", a[i]+1), p[i]=i; | ~~~~~^~~~~~~~~~~~~~