QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#864883 | #9678. 网友小 Z 的树 | yoy68 | Compile Error | / | / | C++14 | 996b | 2025-01-21 10:41:23 | 2025-01-21 10:41:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::pair<int, int> find_diameter(int, int)’: answer.code:27:7: error: ‘i’ was not declared in this scope 27 | For(i,4,n)if(ask(i,v,w)>ask(u,v,w))u=i; | ^ answer.code:27:3: error: ‘For’ was not declared in this scope 27 | For(i,4,n)if(ask(i,v,w)>ask(u,v,w))u=i; | ^~~