Problem deathray
User Duk168
Submission Time 2024-10-22 21:11:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deathray.cpp: In function ‘int main()’:
deathray.cpp:19:8: error: ‘ll’ was not declared in this scope
19 | pq<ll, vecll, greater<ll>> ppl;
| ^~
deathray.cpp:19:12: error: ‘vecll’ was not declared in this scope
19 | pq<ll, vecll, greater<ll>> ppl;
| ^~~~~
deathray.cpp:19:29: error: template argument 1 is invalid
19 | pq<ll, vecll, greater<ll>> ppl;
| ^~
deathray.cpp:19:29: error: template argument 2 is invalid
deathray.cpp:19:29: error: template argument 3 is invalid
deathray.cpp:21:11: error: expected ‘;’ before ‘x’
21 | ll x;
| ^~
| ;
deathray.cpp:22:16: error: ‘x’ was not declared in this scope
22 | cin >> x;
| ^
deathray.cpp:23:13: error: request for member ‘push’ in ‘ppl’, which is of non-class type ‘int’
23 | ppl