QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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); | ~~~~~^~~~~~~~~~~~~~