Problem | buygifts |
---|---|
User | Josh28acc2 |
Submission Time | 2024-02-08 23:24:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
buygifts.cpp: In function ‘void solve()’:
buygifts.cpp:79:33: error: invalid types ‘ll {aka long long int}[ll {aka long long int}]’ for array subscript
79 | cnt++; cnt[w] = 1;
| ^
buygifts.cpp:85:22: error: invalid types ‘ll {aka long long int}[ll {aka long long int}]’ for array subscript
85 | if (chk[q] != 0) chk = 0;
| ^