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