Problem lunchbox
User claireau
Submission Time 2023-11-15 13:59:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:13:12: error: expression cannot be used as a function
13 | if(pq[m](i) < N){
| ^
lunchbox.cpp:14:12: error: expression cannot be used as a function
14 | pq[m](i++);
| ^
lunchbox.cpp:17:18: error: ‘pq’ cannot be used as a function
17 | else cout << pq()+1;
| ^