0_0_29478722_28466.cpp:2:1: error: expected unqualified-id before '{' token
{ int x,y,v; }e[MAXM]; struct opt
^
0_0_29478722_28466.cpp:2:15: error: 'e' does not name a type
{ int x,y,v; }e[MAXM]; struct opt
^
0_0_29478722_28466.cpp:3:70: error: 'vector' does not name a type
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:99: error: 'vector' does not name a type
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:140: error: 'MAXN' was not declared in this scope
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:150: error: 'MAXN' was not declared in this scope
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:161: error: 'MAXM' was not declared in this scope
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:179: error: variable or field 'merge' declared void
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:179: error: 'vector' was not declared in this scope
0_0_29478722_28466.cpp:3:179: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_29478722_28466.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: 'std::vector'
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_29478722_28466.cpp:3:186: error: expected primary-expression before 'int'
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:194: error: 'vector' was not declared in this scope
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
0_0_29478722_28466.cpp:3:194: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_29478722_28466.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: 'std::vector'
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_29478722_28466.cpp:3:201: error: expected primary-expression before 'int'
{ int w,x,y; bool operator <(const opt& R)const { return w<R.w; } }; vector<int> vec[MAXN],w,arr; vector<int>::iterator it; int K; int vis[MAXN],pre[MAXN],vise[MAXM]; void merge(vector<int> &v,vector<int> b)
^
|