QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#729767 | #9570. Binary Tree | ucup-team4883# | Compile Error | / | / | C++14 | 2.3kb | 2024-11-09 17:48:16 | 2024-11-09 17:48:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void divid(int)’: answer.code:81:19: error: invalid types ‘int[int]’ for array subscript 81 | if(sz2<sz3[s3]) swap(s2,s3),swap(sz2,sz3); | ^ answer.code: In function ‘int query(int, int)’: answer.code:40:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 40 | scanf("%d",&res); | ~~~~~^~~~~~~~~~~ answer.code: In function ‘void solve()’: answer.code:112:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 112 | scanf("%d",&n); | ~~~~~^~~~~~~~~ answer.code:116:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 116 | scanf("%d%d",&x,&y); | ~~~~~^~~~~~~~~~~~~~