0_0_33238775_23378.cpp: In function 'void solve()': 0_0_33238775_23378.cpp:22:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] for(int i=0;i<q;i++){ ^