Problem | hungrycats |
---|---|
User | YeoBL20 |
Submission Time | 2024-11-11 22:20:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hungrycats.cpp: In function ‘void solve()’:
hungrycats.cpp:72:6: error: conflicting declaration ‘long long int flag1’
72 | int flag1 = 0, flag2 = 0, flag3 = 1;
| ^~~~~
hungrycats.cpp:67:7: note: previous declaration as ‘bool flag1’
67 | bool flag1 = 0, flag2 = 0, flag3 = 0, flag4 = 0;
| ^~~~~
hungrycats.cpp:72:17: error: conflicting declaration ‘long long int flag2’
72 | int flag1 = 0, flag2 = 0, flag3 = 1;
| ^~~~~
hungrycats.cpp:67:18: note: previous declaration as ‘bool flag2’
67 | bool flag1 = 0, flag2 = 0, flag3 = 0, flag4 = 0;
| ^~~~~
hungrycats.cpp:72:28: error: conflicting declaration ‘long long int flag3’
72 | int flag1 = 0, flag2 = 0, flag3 = 1;
| ^~~~~
hungrycats.cpp:67:29: note: previous declaration as ‘bool flag3’
67 | bool flag1 = 0, flag2 = 0, flag3 = 0, flag4 = 0;
|