Problem catfight
User sussyimpasta
Submission Time 2025-05-07 16:19:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:17:47: error: ‘max’ cannot be used as a function
17 | if (curmax == q) max = max(curmax, r-1);
| ^
catfight.cpp:27:47: error: ‘max’ cannot be used as a function
27 | if (curmax == q) max = max(curmax, r-1);
| ^