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_28342591_10749.cpp:5:1: error: 'deque' does not name a type
 deque<pair<int,ll> > Min;
 ^
0_0_28342591_10749.cpp: In function 'int main()':
0_0_28342591_10749.cpp:8:43: error: 'scanf' was not declared in this scope
     while(~scanf("%lld %lld %lld",&n,&A,&B)){
                                           ^
0_0_28342591_10749.cpp:9:16: error: 'Min' was not declared in this scope
         while(!Min.empty()) Min.pop_back();
                ^
0_0_28342591_10749.cpp:15:19: error: 'Min' was not declared in this scope
             while(Min.size()&&Min.back().second>temp) Min.pop_back();
                   ^
0_0_28342591_10749.cpp:16:13: error: 'Min' was not declared in this scope
             Min.push_back(make_pair(i,temp));
             ^
0_0_28342591_10749.cpp:16:43: error: 'make_pair' was not declared in this scope
             Min.push_back(make_pair(i,temp));
                                           ^
0_0_28342591_10749.cpp:20:28: error: 'printf' was not declared in this scope
         printf("%lld\n",ans);
                            ^
0_0_28342591_10749.cpp:22:13: error: expected '}' at end of input
     return 0;
             ^


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-11-23 11:15:07, Gzip enabled