Problem | lunchbox |
---|---|
User | caleb |
Submission Time | 2024-05-14 12:19:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘long long int minarray()’:
lunchbox.cpp:14:12: error: ‘lomin’ was not declared in this scope
14 | return lomin;
| ^~~~~
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:20:64: error: invalid types ‘long long int [100000][<unresolved overloaded function type>]’ for array subscript
20 | while (N-minarray() >0) {N -= minarray(); schools += 1; arr[min] = 0;}
| ^