QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#93527 | #5531. ICC | dong_liu | Compile Error | / | / | C++17 | 1.4kb | 2023-04-01 10:02:38 | 2024-07-01 04:28:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void run(int)’: answer.code:42:22: error: ‘a’ was not declared in this scope 42 | if(query(t,n-t,a,a+t))break; | ^ answer.code:47:27: error: ‘a’ was not declared in this scope 47 | if(query(m-l1+1,n-t,a+l1,b))r1=m; | ^ answer.code:47:32: error: ‘b’ was not declared in this scope 47 | if(query(m-l1+1,n-t,a+l1,b))r1=m; | ^ answer.code:53:25: error: ‘a’ was not declared in this scope 53 | if(query(t,m-l2+1,a,b+l2))r2=m; | ^ answer.code:53:27: error: ‘b’ was not declared in this scope 53 | if(query(t,m-l2+1,a,b+l2))r2=m; | ^ In file included from /usr/include/c++/13/cassert:44, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:106, from answer.code:1: answer.code:56:5: error: invalid ‘static_cast’ from type ‘void’ to type ‘bool’ 56 | assert(setRoad(o[l1], o[l2])); | ^~~~~~