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

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:4:7: error: ‘sync_With_stdio’ is not a member of ‘std::ios’ {aka ‘std::basic_ios<char>’}
4 | ios::sync_With_stdio(false);
| ^~~~~~~~~~~~~~~
catfight.cpp:12:6: error: ‘class std::deque<int>’ has no member named ‘pusback’; did you mean ‘push_back’?
12 | dq.pusback(v[i]);
| ^~~~~~~
| push_back
catfight.cpp:15:4: error: ‘cusm’ was not declared in this scope; did you mean ‘csum’?
15 | cusm-=dq.front();
| ^~~~
| csum
catfight.cpp:16:18: error: expected ‘;’ before ‘}’ token
16 | dq.pop_front()
| ^
| ;
17 | }
| ~