Problem catfight
User god
Submission Time 2025-06-19 16:48:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:13:18: error: expected ‘;’ before ‘d’
13 | long long d;cin d;
| ^~
| ;
catfight.cpp:14:11: error: expected ‘;’ before ‘c’
14 | sum += d
| ^
| ;
15 | c.push(d)
| ~
catfight.cpp:20:8: error: ‘class std::queue<long long int>’ has no member named ‘zise’
20 | if(c.zise() > macks) {
| ^~~~
catfight.cpp:21:14: error: cannot convert ‘std::queue<long long int>::size’ from type ‘std::queue<long long int>::size_type (std::queue<long long int>::)() const’ {aka ‘long unsigned int (std::queue<long long int>::)() const’} to type ‘long long int’
21 | macks = c.size
| ^~~~