plants.cpp: In function 'void init(int, std::vector<int>)':
plants.cpp:23:27: error: expected primary-expression before '{' token
23 | win.insert( r[i]? {F(i+1), i} : {i, F(i+1)});
| ^
plants.cpp:23:26: error: expected ':' before '{' token
23 | win.insert( r[i]? {F(i+1), i} : {i, F(i+1)});
| ^~
| :
plants.cpp:23:27: error: expected primary-expression before '{' token
23 | win.insert( r[i]? {F(i+1), i} : {i, F(i+1)});
| ^
plants.cpp:22:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
22 | for (int i = 0;i < n;++i)
| ^~~
plants.cpp:24:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
24 | return;
| ^~~~~~
plants.cpp: In function 'int compare_plants(int, int)':
plants.cpp:29:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
29 | if (win.count({y, x}))
| ^~
plants.cpp:31:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
31 | return 0;
| ^~~~~~