0_0_27898084_26934.cpp: In function 'int solve()': 0_0_27898084_26934.cpp:18:8: error: 'inf' was not declared in this scope b[i]=inf; ^ 0_0_27898084_26934.cpp:23:17: error: 'smax' was not declared in this scope smax(ans, id+1); ^