Problem logs
User BigEd15
Submission Time 2025-05-17 16:14:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

logs.cpp: In function ‘int main()’:
logs.cpp:12:2: error: ‘priorityqueue’ was not declared in this scope
12 | priorityqueue<double> pq;
| ^~~~~~~~~~~~~
logs.cpp:12:16: error: expected primary-expression before ‘double’
12 | priorityqueue<double> pq;
| ^~~~~~
logs.cpp:19:3: error: ‘pq’ was not declared in this scope
19 | pq.push(x);
| ^~
logs.cpp:21:13: error: ‘pq’ was not declared in this scope
21 | longestlog=pq.top();
| ^~