0_0_28446804_1692.cpp: In function 'int main()': 0_0_28446804_1692.cpp:26:9: error: 'i' was not declared in this scope if(b[i-2]!=b[i-1]){ ^