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_14507066_25367.cpp:1:1: error: 'priority_queue' does not name a type
 priority_queue<int,vector<int>,greater<int> > que;
 ^
0_0_14507066_25367.cpp:4:1: error: '__int64' does not name a type
 __int64 ans;
 ^
0_0_14507066_25367.cpp: In function 'int main()':
0_0_14507066_25367.cpp:8:15: error: 'scanf' was not declared in this scope
  scanf("%d",&t);
               ^
0_0_14507066_25367.cpp:11:10: error: 'que' was not declared in this scope
   while(!que.empty()) que.pop();
          ^
0_0_14507066_25367.cpp:14:4: error: 'que' was not declared in this scope
    que.push(j);
    ^
0_0_14507066_25367.cpp:16:3: error: 'ans' was not declared in this scope
   ans=0;
   ^
0_0_14507066_25367.cpp:18:6: error: 'que' was not declared in this scope
    i=que.top();que.pop();
      ^
0_0_14507066_25367.cpp:25:23: error: 'printf' was not declared in this scope
   printf("%I64d\n",ans);
                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-04 10:23:49, Gzip enabled