Problem | lunchbox |
---|---|
User | ndtz |
Submission Time | 2024-01-12 12:34:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:26:22: error: invalid types ‘LL {aka long long int}[int]’ for array subscript
26 | if (sum + m[i] > n) {
| ^
lunchbox.cpp:28:20: error: invalid types ‘LL {aka long long int}[int]’ for array subscript
28 | } else sum += m[i]; ++count;
| ^