QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#876805 | #5173. 染色 | MaMengQi | Compile Error | / | / | C++98 | 2.6kb | 2025-01-31 13:19:58 | 2025-01-31 13:21:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:10:7: error: expected nested-name-specifier before ‘ll’ 10 | using ll=long long; | ^~ answer.code: In function ‘void xm::_()’: answer.code:66:23: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 66 | for(int u:qv[i]) ans[u]-=dep[L[u]]-dep[fd(L[u])]-1; | ^~ answer.code:66:27: error: forming reference to reference type ‘std::vector<int>&’ 66 | for(int u:qv[i]) ans[u]-=dep[L[u]]-dep[fd(L[u])]-1; | ^