0_0_20050772_26216.cpp: In function 'void Work(int)': 0_0_20050772_26216.cpp:113:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(num==1) ++ans; ^