Problem catlunch
User blob
Submission Time 2023-12-18 14:58:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp:1:2: error: stray ‘#’ in program
1 | =#include <bits/stdc++.h>
| ^
catlunch.cpp:1:1: error: expected unqualified-id before ‘=’ token
1 | =#include <bits/stdc++.h>
| ^
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> N >> K;
| ^~~
catlunch.cpp:8:5: error: ‘vector’ was not declared in this scope
8 | vector<int> tastiness(N);
| ^~~~~~
catlunch.cpp:8:12: error: expected primary-expression before ‘int’
8 | vector<int> tastiness(N);
| ^~~
catlunch.cpp:10:16: error: ‘tastiness’ was not declared in this scope
10 | cin >> tastiness[i];
| ^~~~~~~~~
catlunch.cpp:13:5: error: ‘priority_queue’ was not declared in this scope
13 | priority_queue<int> pq;
| ^~~~~~~~~~~~~~
catlunch.cpp: