Problem | foreveralone |
---|---|
User | P55D2K |
Submission Time | 2023-04-21 16:54:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:16:21: error: no match for ‘operator[]’ (operand types are ‘std::unordered_set<bool>’ and ‘int’)
16 | is_alone[a] = false;
| ^
foreveralone.cpp:17:21: error: no match for ‘operator[]’ (operand types are ‘std::unordered_set<bool>’ and ‘int’)
17 | is_alone[b] = false;
| ^
foreveralone.cpp:22:21: error: no match for ‘operator[]’ (operand types are ‘std::unordered_set<bool>’ and ‘int’)
22 | if (is_alone[i])
| ^