QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#864890 | #9678. 网友小 Z 的树 | yoy68 | Compile Error | / | / | C++14 | 1.1kb | 2025-01-21 10:46:01 | 2025-01-21 10:46:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int ask(int, int, int)’: answer.code:16:53: error: ‘query’ was not declared in this scope 16 | return mp.count({x,y,z})?mp[{x,y,z}]:(mp[{x,y,z}]=query(x,y,z)); | ^~~~~ answer.code: In function ‘std::pair<int, int> find_diameter(int, int)’: answer.code:24:10: error: ‘in’ was not declared in this scope; did you mean ‘nn’? 24 | if(in(1,2,3))return{2,3}; | ^~ | nn answer.code:25:10: error: ‘in’ was not declared in this scope; did you mean ‘nn’? 25 | if(in(2,1,3))return{1,3}; | ^~ | nn answer.code:34:6: error: ‘in’ was not declared in this scope; did you mean ‘nn’? 34 | if(in(u,v,x))return {v,w}; | ^~ | nn answer.code:35:6: error: ‘in’ was not declared in this scope; did you mean ‘nn’? 35 | if(in(x,u,w))swap(u,v); | ^~ | nn