Problem catlunch
User evan
Submission Time 2025-06-18 15:27:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:17:20: error: expected ‘)’ before ‘;’ token
17 | pq.push(array[i];
| ~ ^
| )
catlunch.cpp:25:10: error: ‘maxBest’ was not declared in this scope
25 | cout << maxBest;
| ^~~~~~~