Problem monsters2
User feynmantree
Submission Time 2026-07-13 02:36:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters2.cpp: In function ‘int main()’:
monsters2.cpp:26:26: error: ‘INFINITY’ was not declared in this scope
26 | int A = (r==0) ? INFINITY : a[i].first - h[r-1].first;
| ^~~~~~~~