0_0_25991504_18237.cpp:10:1: error: 'map' does not name a type
map< pair<int,int> , int > mp ;
^
0_0_25991504_18237.cpp: In function 'int dsu(int, int)':
0_0_25991504_18237.cpp:16:57: error: too few arguments to function 'int dsu(int, int)'
return x == ds[id][x] ? x : ds[id][x] = dsu( ds[id][x] ) ;
^
0_0_25991504_18237.cpp:15:5: note: declared here
int dsu( int x , int id ) {
^
0_0_25991504_18237.cpp: In function 'void Ins(int, int, int)':
0_0_25991504_18237.cpp:24:6: error: 'T' was not declared in this scope
f[++T].y = v , f[T].l = g[u] , g[u] = T ; f[T].z = c ;
^
0_0_25991504_18237.cpp: In function 'int main()':
0_0_25991504_18237.cpp:43:20: error: 'u' was not declared in this scope
scanf("%d%d%d",&u,&v,&c ) ;
^
0_0_25991504_18237.cpp:43:23: error: 'v' was not declared in this scope
scanf("%d%d%d",&u,&v,&c ) ;
^
0_0_25991504_18237.cpp:43:26: error: 'c' was not declared in this scope
scanf("%d%d%d",&u,&v,&c ) ;
^
0_0_25991504_18237.cpp:46:20: error: incompatible types in assignment of 'int' to 'int [100020]'
rep(i,1,n) ds[i] = i , si[i] = 1 ;
^
0_0_25991504_18237.cpp:46:32: error: incompatible types in assignment of 'int' to 'int [100020]'
rep(i,1,n) ds[i] = i , si[i] = 1 ;
^
0_0_25991504_18237.cpp:47:8: error: 'po' was not declared in this scope
Dfs( po ) ;
^
0_0_25991504_18237.cpp:48:32: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
rep(i,1,n) if( dsu(i,1)==ds[i] ) {
^
0_0_25991504_18237.cpp:52:22: error: 'a' was not declared in this scope
scanf("%d%d%d%d",&a,&b,&s,&t ) ;
^
0_0_25991504_18237.cpp:52:25: error: 'b' was not declared in this scope
scanf("%d%d%d%d",&a,&b,&s,&t ) ;
^
0_0_25991504_18237.cpp:52:28: error: 's' was not declared in this scope
scanf("%d%d%d%d",&a,&b,&s,&t ) ;
^
0_0_25991504_18237.cpp:52:31: error: 't' was not declared in this scope
scanf("%d%d%d%d",&a,&b,&s,&t ) ;
^
|