Problem collectmushrooms6
User ilikeeggs
Submission Time 2026-01-31 22:08:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms6.cpp: In function ‘int32_t main()’:
collectmushrooms6.cpp:47:25: error: expected unqualified-id before ‘)’ token
47 | if(bottomL.)
| ^
collectmushrooms6.cpp:48:10: error: expected primary-expression before ‘}’ token
48 | }
| ^
collectmushrooms6.cpp:54:22: error: cannot convert ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type’ {aka ‘std::vector<long long int>’} to ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’} in assignment
54 | ps[i] = cv[i];
| ^
collectmushrooms6.cpp:57:24: error: no match for ‘operator+’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type’ {aka