QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#876800 | #5173. 染色 | GuanYunchang | Compile Error | / | / | C++98 | 2.8kb | 2025-01-31 13:18:46 | 2025-01-31 13:18:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:9:7: error: expected nested-name-specifier before ‘ll’ 9 | using ll=long long; | ^~ answer.code: In function ‘void xm::_()’: answer.code:64:23: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 64 | for(int u:qv[i]) ans[u]-=dep[L[u]]-dep[fd(L[u])]-1; | ^~ answer.code:64:27: error: forming reference to reference type ‘std::vector<int>&’ 64 | for(int u:qv[i]) ans[u]-=dep[L[u]]-dep[fd(L[u])]-1; | ^