Problem catfight
User Slayer
Submission Time 2025-12-12 15:51:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:19:9: error: ‘s’ was not declared in this scope
19 | s+=arr[r];
| ^
catfight.cpp:20:19: error: ‘x’ was not declared in this scope
20 | while (s >x) {
| ^