0_0_36509488_21634.cpp:90:1: error: 'vector' does not name a type
vector<int> v[MAXN];
^
0_0_36509488_21634.cpp: In member function 'bool cmp::operator()(int, int) const':
0_0_36509488_21634.cpp:94:16: error: 'v' was not declared in this scope
return v[x].size()>v[y].size();
^
0_0_36509488_21634.cpp: At global scope:
0_0_36509488_21634.cpp:99:1: error: 'priority_queue' does not name a type
priority_queue<int,vector<int>, cmp> Q;
^
0_0_36509488_21634.cpp: In function 'void solve()':
0_0_36509488_21634.cpp:112:12: error: 'Q' was not declared in this scope
while(!Q.empty()) Q.pop();
^
0_0_36509488_21634.cpp:120:13: error: 'v' was not declared in this scope
v[i].resize(a[i]+1);
^
0_0_36509488_21634.cpp:121:43: error: 'fill' was not declared in this scope
fill(v[i].begin(),v[i].end(),0);
^
0_0_36509488_21634.cpp:121:43: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:67,
from 0_0_36509488_21634.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/deque.tcc:926:5: note: 'std::fill'
fill(const _Deque_iterator<_Tp, _Tp&, _Tp*>& __first,
^
0_0_36509488_21634.cpp:124:13: error: 'Q' was not declared in this scope
Q.push(i);
^
0_0_36509488_21634.cpp:129:11: error: 'Q' was not declared in this scope
while(Q.size()>1) {
^
0_0_36509488_21634.cpp:132:15: error: 'v' was not declared in this scope
int n=v[i].size()-1;
^
0_0_36509488_21634.cpp:149:12: error: 'Q' was not declared in this scope
int mi=Q.top();Q.pop();
^
0_0_36509488_21634.cpp:151:19: error: 'v' was not declared in this scope
for(int i=1;i<v[mi].size();i++) {
^
|