Problem catfight
User sharelletqx
Submission Time 2026-05-16 11:12:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int32_t main()’:
catfight.cpp:13:3: error: ‘csum’ was not declared in this scope
13 | csum+=v[i];
| ^~~~
catfight.cpp:20:8: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
20 | cout<<ans;
| ^~~
| abs