QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#188986 | #7178. Bishops | ucup-team1876 | Compile Error | / | / | C++14 | 3.0kb | 2023-09-26 18:35:20 | 2023-09-26 18:35:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int hop(std::vector<std::vector<int> >&, vi&)’: answer.code:9:19: error: ‘size’ was not declared in this scope 9 | #define sz(x) int(size(x)) | ^~~~ answer.code:27:14: note: in expansion of macro ‘sz’ 27 | vi A(sz(g)), B(sz(btoa)), cur, next; | ^~ answer.code: In function ‘int main()’: answer.code:9:19: error: ‘size’ was not declared in this scope 9 | #define sz(x) int(size(x)) | ^~~~ answer.code:139:15: note: in expansion of macro ‘sz’ 139 | cout<<sz(result)<<'\n'; | ^~ answer.code:140:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 140 | for(auto [x, y]: result) cout<<x<<' '<<y<<'\n'; | ^