| Problem | lunchbox |
|---|---|
| User | caleb |
| Submission Time | 2024-05-14 12:19:28 |
| 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: cannot resolve overloaded function ‘min’ based on conversion to type ‘long long int’
14 | return min;
| ^~~
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;}
| ^