Problem catfight
User Feiyang
Submission Time 2025-06-19 16:44:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:11:2: error: ‘mack’ was not declared in this scope
11 | mack=0;
| ^~~~
catfight.cpp:12:32: error: expected primary-expression before ‘)’ token
12 | for (long long i =0; i< a,i++>){
| ^
catfight.cpp:12:32: error: expected ‘;’ before ‘)’ token
12 | for (long long i =0; i< a,i++>){
| ^
| ;
catfight.cpp:14:6: error: expected initializer before ‘>>’ token
14 | cin>>d;
| ^~
catfight.cpp:21:16: error: ‘macks’ was not declared in this scope
21 | if (c.size()>macks){
| ^~~~~
catfight.cpp:23:9: error: ‘macks’ was not declared in this scope
23 | cout<<macks;
| ^~~~~