0_0_33104276_10496.cpp:77:5: error: missing terminating " character
scanf("%d%2
^
0_0_33104276_10496.cpp:10:5: error: 'vector' does not name a type
vector<int> G[MAXN];
^
0_0_33104276_10496.cpp: In member function 'void KM::init()':
0_0_33104276_10496.cpp:17:31: error: 'G' was not declared in this scope
for(int i=1;i<=N;++i) G[i].clear();
^
0_0_33104276_10496.cpp: In member function 'void KM::add(int, int, int)':
0_0_33104276_10496.cpp:22:9: error: 'G' was not declared in this scope
G[u].push_back(v);
^
0_0_33104276_10496.cpp: In member function 'int KM::M(int)':
0_0_33104276_10496.cpp:28:17: error: 'G' was not declared in this scope
int len=G[u].size();
^
0_0_33104276_10496.cpp: In member function 'void KM::update()':
0_0_33104276_10496.cpp:46:25: error: 'G' was not declared in this scope
int len=G[u].size();
^
0_0_33104276_10496.cpp:49:58: error: 'min' was not declared in this scope
if(!T[u]) a=min(a,Lx[u]+Ly[v]-W[u][v]);
^
0_0_33104276_10496.cpp:49:58: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_33104276_10496.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:240:5: note: 'std::min'
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
0_0_33104276_10496.cpp: In member function 'void KM::solve()':
0_0_33104276_10496.cpp:61:43: error: 'max_element' was not declared in this scope
Lx[i]=*max_element(W[i],W[i]+N);
^
0_0_33104276_10496.cpp: In function 'int main()':
0_0_33104276_10496.cpp:77:10: error: expected primary-expression at end of input
scanf("%d%2
^
0_0_33104276_10496.cpp:77:10: error: expected '}' at end of input
|