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_17264044_19753.cpp:18:8: error: 'ISAP::ISAP' has the same name as the class in which it is declared
 struct ISAP {
        ^
0_0_17264044_19753.cpp:153:1: error: expected '}' at end of input
 }
 ^
0_0_17264044_19753.cpp: In member function 'int ISAP::main()':
0_0_17264044_19753.cpp:135:7: error: request for member 'ClearAll' in '((ISAP*)this)->ISAP::g', which is of non-class type 'int'
     g.ClearAll(n + 1);
       ^
0_0_17264044_19753.cpp:140:9: error: request for member 'AddEdge' in '((ISAP*)this)->ISAP::g', which is of non-class type 'int'
       g.AddEdge(u, v, c);
         ^
0_0_17264044_19753.cpp:141:9: error: request for member 'AddEdge' in '((ISAP*)this)->ISAP::g', which is of non-class type 'int'
       g.AddEdge(v, u, c);
         ^
0_0_17264044_19753.cpp:146:11: error: request for member 'AddEdge' in '((ISAP*)this)->ISAP::g', which is of non-class type 'int'
         g.AddEdge(i, n + 1, inf);
           ^
0_0_17264044_19753.cpp:147:11: error: request for member 'AddEdge' in '((ISAP*)this)->ISAP::g', which is of non-class type 'int'
         g.AddEdge(n + 1, i, inf);
           ^
0_0_17264044_19753.cpp:150:22: error: request for member 'Maxflow' in '((ISAP*)this)->ISAP::g', which is of non-class type 'int'
     printf("%d\n", g.Maxflow(r, n + 1));
                      ^
0_0_17264044_19753.cpp: At global scope:
0_0_17264044_19753.cpp:153:1: error: expected unqualified-id 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-12-02 12:24:17, Gzip enabled