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
}
^
|