记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:19: error: expected unqualified-id before '[' token
         for (auto [num, f] : freq) {
                   ^
/in/foo.cc:23:19: error: expected ';' before '[' token
/in/foo.cc: In lambda function:
/in/foo.cc:23:28: error: expected '{' before ':' token
         for (auto [num, f] : freq) {
                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:28: error: could not convert '<lambda closure object>main()::<lambda()>{num, f}' from 'main()::<lambda()>' to 'bool'
/in/foo.cc:23:28: error: expected ';' before ':' token
/in/foo.cc:23:28: error: expected primary-expression before ':' token
/in/foo.cc:23:28: error: expected ')' before ':' token
/in/foo.cc:23:28: error: expected primary-expression before ':' token

信息

递交者
类型
递交
题目
P1578 Problem 3D. Summation(equal version)
比赛
2024春 悬赏令第三周
语言
C++
递交时间
2024-05-04 20:33:31
评测时间
2024-05-05 00:35:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes