Problem cny
User Henries
Submission Time 2024-10-08 11:13:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cny.cpp: In function ‘void solve(std::priority_queue<long long int>, long long int)’:
cny.cpp:14:11: error: a function-definition is not allowed here before ‘{’ token
14 | int main(){
| ^
cny.cpp:24:1: error: expected ‘}’ at end of input
24 | }
| ^
cny.cpp:3:54: note: to match this ‘{’
3 | void solve(priority_queue<long long> pq, long long m){
| ^