Problem competition
User Henries
Submission Time 2024-10-05 22:46:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘long long int solve(std::priority_queue<long long int>, long long int)’:
competition.cpp:7:13: error: invalid type argument of unary ‘*’ (have ‘long long int’)
7 | total += *max;
| ^~~