Problem globalwarming
User Poket
Submission Time 2023-02-17 22:53:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:61:113: error: expected ‘;’ before ‘{’ token
61 | if (!(find(connecting_index.begin(), connecting_index.end(), (*y).second) == connecting_index.end()) {
| ^~
| ;
globalwarming.cpp:64:51: error: expected ‘)’ before ‘;’ token
64 | connecting_index.insert((*y).second+1);
| ^
| )
globalwarming.cpp:61:16: note: to match this ‘(’
61 | if (!(find(connecting_index.begin(), connecting_index.end(), (*y).second) == connecting_index.end()) {
| ^
globalwarming.cpp:64:36: error: could not convert