Problem catlunch
User ilikeeggs
Submission Time 2024-09-29 13:34:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int32_t main()’:
catlunch.cpp:11:2: error: expected primary-expression before ‘<’ token
11 | <int> tastes(n);
| ^
catlunch.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
catlunch.cpp:11:3: note: in expansion of macro ‘int’
11 | <int> tastes(n);
| ^~~
catlunch.cpp:15:10: error: ‘tastes’ was not declared in this scope
15 | cin >> tastes[i];
| ^~~~~~
catlunch.cpp:28:11: error: ‘tastes’ was not declared in this scope
28 | pq.push(tastes[i]);
| ^~~~~~