0_0_37678132_28613.cpp: In function 'void update(int, int, int, int, char)':
0_0_37678132_28613.cpp:33:66: error: lvalue required as left operand of assignment
if(arr[pos]=='w'&& arr[pos-1]=='b'&&arr[pos-2]=='w'&&root[rt] =1;
^
0_0_37678132_28613.cpp:33:68: error: expected ')' before ';' token
if(arr[pos]=='w'&& arr[pos-1]=='b'&&arr[pos-2]=='w'&&root[rt] =1;
^
|