0_0_29635287_26845.cpp: In function 'int work(int, int, int)': 0_0_29635287_26845.cpp:51:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(check[k] > i) continue; ^