0_0_31130153_22660.cpp:14:44: error: '_n' has not been declared
TopologicalSort_Matrix ( int _n ) ; n( _n ) { };
^
0_0_31130153_22660.cpp:14:51: error: 'int TopologicalSort_Matrix::n(int)' conflicts with a previous declaration
TopologicalSort_Matrix ( int _n ) ; n( _n ) { };
^
0_0_31130153_22660.cpp:11:6: note: previous declaration 'int TopologicalSort_Matrix::n'
int n, cnt;
^
0_0_31130153_22660.cpp: In constructor 'TopologicalSort_Matrix::TopologicalSort_Matrix()':
0_0_31130153_22660.cpp:13:34: error: expected identifier before '{' token
TopologicalSort_Matrix ( ) : { };
^
0_0_31130153_22660.cpp: In member function 'void TopologicalSort_Matrix::ini(int)':
0_0_31130153_22660.cpp:22:11: error: invalid use of member (did you forget the '&' ?)
this->n = n;
^
0_0_31130153_22660.cpp: In member function 'void TopologicalSort_Matrix::topo()':
0_0_31130153_22660.cpp:32:25: error: invalid use of member (did you forget the '&' ?)
for ( int i = 1; i <= n; ++i )
^
0_0_31130153_22660.cpp:39:27: error: invalid use of member (did you forget the '&' ?)
for ( int v = 1 ; v <= n ; ++v ) {
^
|