0_0_21321196_18282.cpp: In function 'int main()': 0_0_21321196_18282.cpp:43:18: error: 'pos' was not declared in this scope if(b[pos[i]]==b[p[i+1]]) ^