QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#391357 | #7936. Eliminate Tree | HuangHanSheng | Compile Error | / | / | C++98 | 2.9kb | 2024-04-16 15:49:05 | 2024-04-16 15:49:06 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void Test_Case()’: answer.code:47:20: error: ISO C++ forbids declaration of ‘v’ with no type [-fpermissive] 47 | for(auto & v : g[u]){ | ^ answer.code:47:24: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 47 | for(auto & v : g[u]){ | ^ answer.code:47:27: error: forming reference to reference type ‘std::vector<int>&’ 47 | for(auto & v : g[u]){ | ^ answer.code:54:32: error: ISO C++ forbids declaration of ‘it’ with no type [-fpermissive] 54 | for(auto & it : g[v]){ | ^~ answer.code:54:37: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 54 | for(auto & it : g[v]){ | ^ answer.code:54:40: error: forming reference to reference type ‘std::vector<int>&’ 54 | for(auto & it : g[v]){ | ^