QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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'; | ^