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;
^
|