Problem hungrycats
User MegaG
Submission Time 2025-08-23 14:06:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungrycats.cpp: In function ‘int main()’:
hungrycats.cpp:2:13: error: expected ‘,’ or ‘;’ before ‘long’
2 | #define int long long
| ^~~~
hungrycats.cpp:18:2: note: in expansion of macro ‘int’
18 | int q = 0;
| ^~~
hungrycats.cpp:25:17: error: ‘q’ was not declared in this scope
25 | neg[q] = H[i];
| ^
hungrycats.cpp:37:25: error: ‘q’ was not declared in this scope
37 | for (int i = 1; i < q; i++) {
| ^