Problem | general |
---|---|
User | ldminh4354 |
Submission Time | 2023-01-27 10:02:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
general.cpp: In function ‘void merge(long long int, long long int)’:
general.cpp:28:20: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
28 | if (size[root_x] < size[root_y]) swap(root_x, root_y);
| ^
general.cpp:28:35: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
28 | if (size[root_x] < size[root_y]) swap(root_x, root_y);
| ^
general.cpp:31:16: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
31 | size[root_x] += size[root_y];
| ^
general.cpp:31:32: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
31 | size[root_x] += size[root_y];
| ^