0_0_28382892_15452.cpp: In function 'int main()': 0_0_28382892_15452.cpp:16:17: error: 'i' was not declared in this scope i=n/1000000; ^ 0_0_28382892_15452.cpp:22:20: error: 'b' was not declared in this scope if(b[n]){ ^