0_0_38474220_10874.cpp:8:1: error: 'priority_queue' does not name a type
priority_queue < int > q ;
^
0_0_38474220_10874.cpp: In function 'int main()':
0_0_38474220_10874.cpp:14:3: error: 'q' was not declared in this scope
q.push(-x) ;
^
0_0_38474220_10874.cpp:20:22: error: 'q' was not declared in this scope
while (tot <= T &&(!q.empty ())) {
^
|