Problem | archaeologist |
---|---|
User | PlayVoltz |
Submission Time | 2024-02-28 14:39:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
archaeologist.cpp: In function ‘void archaeologist(int, int, int, std::vector<int>, int, std::vector<int>)’:
archaeologist.cpp:29:44: error: expected ‘;’ before ‘set_light’
29 | for (auto a:paths)sum+=l-a, count+=(a!=0)
| ^
| ;
30 | set_light(max({0, l-sum, l-leaf[c]+count}));
| ~~~~~~~~~
archaeologist.cpp:30:44: error: expected primary-expression before ‘)’ token
30 | set_light(max({0, l-sum, l-leaf[c]+count}));
| ^