0_0_23193691_26615.cpp:6:1: error: expected unqualified-id before numeric constant
4
^
0_0_23193691_26615.cpp: In function 'int init(int)':
0_0_23193691_26615.cpp:18:18: error: expected primary-expression before ';' token
for( int i=0;i<N;i++ ) data[ a].next1[ i ]=0;
^
0_0_23193691_26615.cpp: In function 'void ac_bfs()':
0_0_23193691_26615.cpp:56:2: error: 'queue' was not declared in this scope
queue<int>
^
0_0_23193691_26615.cpp:56:2: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_23193691_26615.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note: 'std::queue'
class queue
^
0_0_23193691_26615.cpp:56:8: error: expected primary-expression before 'int'
queue<int>
^
0_0_23193691_26615.cpp:59:18: error: expected primary-expression before ';' token
for( int i=0;i<N;i++)
^
0_0_23193691_26615.cpp:61:32: error: 'que' was not declared in this scope
if( data[ 0].next1[ i ] ) que.push( data[ 0 ].next1[ i ] );
^
0_0_23193691_26615.cpp:63:9: error: 'que' was not declared in this scope
while( que.size( )){
^
0_0_23193691_26615.cpp:69:22: error: expected primary-expression before ';' token
for( int i=0;i<N;i++ ){
^
0_0_23193691_26615.cpp: In function 'void bfs()':
0_0_23193691_26615.cpp:106:2: error: 'queue' was not declared in this scope
queue<int>
^
0_0_23193691_26615.cpp:106:2: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
from 0_0_23193691_26615.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note: 'std::queue'
class queue
^
0_0_23193691_26615.cpp:106:8: error: expected primary-expression before 'int'
queue<int>
^
0_0_23193691_26615.cpp:113:2: error: 'que' was not declared in this scope
que.push( 0 );
^
0_0_23193691_26615.cpp:121:22: error: expected primary-expression before ';' token
for( int i=0;i<N;i++ ){
^
0_0_23193691_26615.cpp: In function 'int main()':
0_0_23193691_26615.cpp:263:18: error: expected primary-expression before ';' token
for( int i=0;i<N;i++ ) data[ data[0 ].next1[ i ] ].tag=false;
^
0_0_23193691_26615.cpp:285:17: error: 'ret0000' was not declared in this scope
printf( "%d\n",ret0000 );
^
|