Problem catfight
User Red123
Submission Time 2026-10-19 20:14:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:22:22: error: expected ‘;’ before ‘max_val’
22 | counter = r - l + 1
| ^
| ;
23 | max_val = max(max_val, counter);
| ~~~~~~~