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_25384847_25734.cpp:12:1: error: 'deque' does not name a type
 deque<long long> d2;
 ^
0_0_25384847_25734.cpp:13:1: error: 'priority_queue' does not name a type
 priority_queue<int, vector<int>, greater<int>> d1;
 ^
0_0_25384847_25734.cpp: In function 'int main()':
0_0_25384847_25734.cpp:24:19: error: 'scanf' was not declared in this scope
     scanf("%d", &T);
                   ^
0_0_25384847_25734.cpp:27:17: error: 'd1' was not declared in this scope
         while (!d1.empty())
                 ^
0_0_25384847_25734.cpp:29:17: error: 'd2' was not declared in this scope
         while (!d2.empty())
                 ^
0_0_25384847_25734.cpp:40:50: error: 'max' was not declared in this scope
             max1 = max(s[i].r - s[i].l + 10, max1);
                                                  ^
0_0_25384847_25734.cpp:44:13: error: 'd1' was not declared in this scope
             d1.push(i);
             ^
0_0_25384847_25734.cpp:46:36: error: 'sort' was not declared in this scope
         sort(s + 1, s + 1 + m, cmp1);
                                    ^
0_0_25384847_25734.cpp:59:25: error: 'd2' was not declared in this scope
                     if (d2.empty())
                         ^
0_0_25384847_25734.cpp:61:35: error: 'd2' was not declared in this scope
                     long long t = d2.back();
                                   ^
0_0_25384847_25734.cpp:63:21: error: 'd1' was not declared in this scope
                     d1.push(t);
                     ^
0_0_25384847_25734.cpp:70:35: error: 'd1' was not declared in this scope
                     long long t = d1.top();
                                   ^
0_0_25384847_25734.cpp:72:21: error: 'd2' was not declared in this scope
                     d2.push_front(t);
                     ^
0_0_25384847_25734.cpp:78:43: error: 'max' was not declared in this scope
                 int q = max(rr + 1, s[i].l);
                                           ^
0_0_25384847_25734.cpp:81:35: error: 'd1' was not declared in this scope
                     long long t = d1.top();
                                   ^
0_0_25384847_25734.cpp:83:21: error: 'd2' was not declared in this scope
                     d2.push_front(t);
                     ^
0_0_25384847_25734.cpp:87:32: error: 'max' was not declared in this scope
             ll = max(ll, s[i].l);
                                ^
0_0_25384847_25734.cpp:95:37: error: 'printf' was not declared in this scope
                 printf("%lld", ww[i]);
                                     ^
0_0_25384847_25734.cpp:97:38: error: 'printf' was not declared in this scope
                 printf(" %lld", ww[i]);
                                      ^
0_0_25384847_25734.cpp:99:20: error: 'printf' was not declared in this scope
         printf("\n");
                    ^


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-09-30 10:46:24, Gzip enabled