QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#98179 | #2920. Ultimate Binary Watch | ZhaoZiLong | Compile Error | / | / | C++98 | 1.9kb | 2023-04-19 05:48:49 | 2023-04-19 05:48:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void Solve()’: answer.code:37:16: error: ISO C++ forbids declaration of ‘i’ with no type [-fpermissive] 37 | for(auto & i : v){ | ^ answer.code:37:20: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ 37 | for(auto & i : v){ | ^ answer.code:37:20: error: forming reference to reference type ‘std::vector<int>&’ answer.code:43:16: error: ISO C++ forbids declaration of ‘i’ with no type [-fpermissive] 43 | for(auto & i : v){ | ^ answer.code:43:20: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ 43 | for(auto & i : v){ | ^ answer.code:43:20: error: forming reference to reference type ‘std::vector<int>&’ answer.code:49:16: error: ISO C++ forbids declaration of ‘i’ with no type [-fpermissive] 49 | for(auto & i : v){ | ^ answer.code:49:20: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ 49 | for(auto & i : v){ | ^ answer.code:49:20: error: forming reference to reference type ‘std::vector<int>&’ answer.code:56:16: error: ISO C++ forbids declaration of ‘i’ with no type [-fpermissive] 56 | for(auto & i : v){ | ^ answer.code:56:20: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ 56 | for(auto & i : v){ | ^ answer.code:56:20: error: forming reference to reference type ‘std::vector<int>&’