Problem catfight
User Yellowflower016
Submission Time 2025-02-10 20:40:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:17:45: error: ‘max’ cannot be used as a function
17 | finalCount = max(finalCount, catsDefeated);
| ^
catfight.cpp:20:45: error: ‘max’ cannot be used as a function
20 | finalCount = max(finalCount, catsDefeated);
| ^