0_0_38554773_31444.cpp: In function 'void solve(int)':
0_0_38554773_31444.cpp:26:164: error: expected ')' before 'ans'
if ((s[i] == 'd' || s[i] == 'D')&&(s[i + 1] == 'o' || s[i + 1] == 'O') && (s[i + 2] == 'g' || s[i + 2] == 'G') && (s[i + 3] == 'e' || s[i + 3] == 'E') ans++;
^
|