Problem charges
User hellothisisme
Submission Time 2026-09-22 17:01:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

charges.cpp: In member function ‘void ufds::merge(int, int)’:
charges.cpp:32:80: error: invalid types ‘<unresolved overloaded function type>[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]’ for array subscript
32 | if (exist_aa and exist_ab and (not anti[a] == anti[b] or parent[anti[a]] != anti[a])){
| ^