0_0_26451671_10223.cpp: In function 'int main()': 0_0_26451671_10223.cpp:165:17: error: 'INF' was not declared in this scope if(ans==INF) ans=0; ^