QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#729473 | #9570. Binary Tree | ucup-team4883# | Compile Error | / | / | C++14 | 1.8kb | 2024-11-09 17:12:03 | 2024-11-09 17:12:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void init()’: answer.code:86:13: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 86 | tot=cnt=0; | ^~~ | int answer.code: In function ‘int query(int, int)’: answer.code:32:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 32 | scanf("%d",&res); | ~~~~~^~~~~~~~~~~ answer.code: In function ‘void solve()’: answer.code:90:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 90 | scanf("%d",&n); | ~~~~~^~~~~~~~~ answer.code:94:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | scanf("%d%d",&x,&y); | ~~~~~^~~~~~~~~~~~~~