0_0_20445971_25751.cpp: In function 'int main()': 0_0_20445971_25751.cpp:84:51: error: 'j' was not declared in this scope for(int k = 1 ; k < cnt ; k++) printf("%d ",p[j] + 1); ^