记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:38:14: error: expected unqualified-id before '[' token
     for(auto [l, r, index] : Q)
              ^
/in/foo.cc:38:14: error: expected ';' before '[' token
/in/foo.cc:38:15: error: 'l' was not declared in this scope
     for(auto [l, r, index] : Q)
               ^
/in/foo.cc:38:18: error: 'r' was not declared in this scope
     for(auto [l, r, index] : Q)
                  ^
/in/foo.cc:38:21: error: capture by copy of incomplete type '<unresolved overloaded function type>'
     for(auto [l, r, index] : Q)
                     ^~~~~
/in/foo.cc: In lambda function:
/in/foo.cc:38:28: error: expected '{' before ':' token
     for(auto [l, r, index] : Q)
                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:38:28: error: expected ';' before ':' token
/in/foo.cc:38:28: error: expected primary-expression before ':' token
/in/foo.cc:38:28: error: expected ')' before ':' token
/in/foo.cc:38:28: error: expected primary-expression before ':' token

信息

递交者
类型
递交
题目
P1316 Multiple of k
语言
C++
递交时间
2022-01-27 18:14:20
评测时间
2022-01-27 18:14:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes