0_0_36459781_21047.cpp: In function 'int main()': 0_0_36459781_21047.cpp:40:19: error: 'inf' was not declared in this scope res[n] = -inf; ^