QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#249604 | #5471. Interactive Number Guessing | MaMengQi | Compile Error | / | / | C++17 | 647b | 2023-11-12 13:10:04 | 2023-11-12 13:10:04 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘bool ok(ll)’: answer.code:16:21: error: ‘z’ was not declared in this scope 16 | return v <= z; | ^ answer.code: In function ‘int main()’: answer.code:20:9: error: ‘p’ was not declared in this scope 20 | p[0] = 1ll; | ^ answer.code: In function ‘int query(ll)’: answer.code:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d", &response); | ~~~~~^~~~~~~~~~~~~~~~~