F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36608848_6995.cpp: In function 'int main()':
0_0_36608848_6995.cpp:3:5: error: 'ios' has not been declared
     ios::sync_with_stdio(false);
     ^
0_0_36608848_6995.cpp:6:5: error: 'cin' was not declared in this scope
     cin >> T;
     ^
0_0_36608848_6995.cpp:9:9: error: 'priority_queue' was not declared in this scope
         priority_queue<float,vector<float>,greater<float>>q1, q2;
         ^
0_0_36608848_6995.cpp:9:24: error: expected primary-expression before 'float'
         priority_queue<float,vector<float>,greater<float>>q1, q2;
                        ^
0_0_36608848_6995.cpp:14:13: error: 'q1' was not declared in this scope
             q1.push(t);
             ^
0_0_36608848_6995.cpp:19:13: error: 'q2' was not declared in this scope
             q2.push(t);
             ^
0_0_36608848_6995.cpp:22:17: error: 'q1' was not declared in this scope
         while (!q1.empty())
                 ^
0_0_36608848_6995.cpp:24:28: error: 'q2' was not declared in this scope
             if (q1.top() <=q2.top())
                            ^
0_0_36608848_6995.cpp:39:13: error: 'cout' was not declared in this scope
             cout << "No\n";
             ^
0_0_36608848_6995.cpp:41:13: error: 'cout' was not declared in this scope
             cout << "Yes\n";
             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 16:48:13, Gzip enabled