| Problem | deathray |
|---|---|
| User | sharelletqx |
| Submission Time | 2026-04-25 11:10:57 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
deathray.cpp: In function ‘int main()’:
deathray.cpp:9:6: error: two or more data types in declaration of ‘type name’
9 | int d=0;
| ^
deathray.cpp:9:8: error: template argument 3 is invalid
9 | int d=0;
| ^
deathray.cpp:12:3: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
12 | pq.push(l[i]);
| ^~
| q
deathray.cpp:21:4: error: ‘d’ was not declared in this scope
21 | d+=p;
| ^
deathray.cpp:22:11: error: ‘pq’ was not declared in this scope; did you mean ‘p’?
22 | while(!pq.empty() and pq.top()<=d){
| ^~
| p
deathray.cpp:30:7: error: ‘pq’ was not declared in this scope; did you mean ‘q’?
30 | if(pq.empty()){
| ^~
| q