Problem competition
User Henries
Submission Time 2024-10-05 22:46:11
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;
| ^~~
competition.cpp: In function ‘int main()’:
competition.cpp:23:23: error: expected ‘;’ before ‘}’ token
23 | physics.push(pscore)
| ^
| ;
24 | }
| ~