Anna.cpp: In function 'void Anna(int, ll, int, int*)':
Anna.cpp:13:60: error: expected ';' before '{' token
13 | if(i+2>=N || (ar[i]!=0 || ar[i+1]!=0 || ar[i+2]!=0){
| ^
| ;
Anna.cpp:13:19: warning: statement has no effect [-Wunused-value]
13 | if(i+2>=N || (ar[i]!=0 || ar[i+1]!=0 || ar[i+2]!=0){
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anna.cpp:17:20: error: expected ')' before ';' token
17 | Set( i, 1 );
| ^
| )
Anna.cpp:13:11: note: to match this '('
13 | if(i+2>=N || (ar[i]!=0 || ar[i+1]!=0 || ar[i+2]!=0){
| ^
Anna.cpp:17:12: error: could not convert 'Set(i, 1)' from 'void' to 'bool'
17 | Set( i, 1 );
| ~~~^~~~~~~~
| |
| void