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_33104279_16163.cpp:77:5: error: missing terminating " character
     scanf("%d%2
     ^
0_0_33104279_16163.cpp:10:5: error: 'vector' does not name a type
     vector<int> G[MAXN];
     ^
0_0_33104279_16163.cpp: In member function 'void KM::init()':
0_0_33104279_16163.cpp:17:31: error: 'G' was not declared in this scope
         for(int i=1;i<=N;++i) G[i].clear();
                               ^
0_0_33104279_16163.cpp: In member function 'void KM::add(int, int, int)':
0_0_33104279_16163.cpp:22:9: error: 'G' was not declared in this scope
         G[u].push_back(v);
         ^
0_0_33104279_16163.cpp: In member function 'int KM::M(int)':
0_0_33104279_16163.cpp:28:17: error: 'G' was not declared in this scope
         int len=G[u].size();
                 ^
0_0_33104279_16163.cpp: In member function 'void KM::update()':
0_0_33104279_16163.cpp:46:25: error: 'G' was not declared in this scope
                 int len=G[u].size();
                         ^
0_0_33104279_16163.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_33104279_16163.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_33104279_16163.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_33104279_16163.cpp: In member function 'void KM::solve()':
0_0_33104279_16163.cpp:61:43: error: 'max_element' was not declared in this scope
             Lx[i]=*max_element(W[i],W[i]+N);
                                           ^
0_0_33104279_16163.cpp: In function 'int main()':
0_0_33104279_16163.cpp:77:10: error: expected primary-expression at end of input
     scanf("%d%2
          ^
0_0_33104279_16163.cpp:77:10: error: expected '}' at end of input


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-07-02 13:44:06, Gzip enabled