Problem | general |
---|---|
User | JoshuaPyh |
Submission Time | 2024-01-25 09:15:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
general.cpp: In function βint findLeader(const std::vector<int>&, int)β:
general.cpp:9:20: error: assignment of read-only location β(& leaders)->std::vector<int>::operator[](((std::vector<int>::size_type)x))β
9 | leaders[x] = findLeader(leaders, leaders[x]);