Problem catlunch
User justin271828
Submission Time 2023-06-14 11:59:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:12:18: error: expected ‘;’ before ‘<’ token
12 | for(int i = 0, i < K-1, i++) {
| ^~
| ;
catlunch.cpp:12:19: error: expected primary-expression before ‘<’ token
12 | for(int i = 0, i < K-1, i++) {
| ^
catlunch.cpp:12:29: error: expected ‘;’ before ‘)’ token
12 | for(int i = 0, i < K-1, i++) {
| ^
| ;
catlunch.cpp:22:11: error: expected ‘;’ before ‘}’ token
22 | pq.pop()
| ^
| ;
23 | }
| ~