0_0_27280758_28878\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_27280758_28878\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_27280758_28878\Main.java:3: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_27280758_28878\Main.java:4: 错误: 需要class, interface或enum
typedef pair<int, int> pii;
^
0_0_27280758_28878\Main.java:5: 错误: 需要class, interface或enum
const int inf = 0x3f3f3f3f;
^
0_0_27280758_28878\Main.java:6: 错误: 需要class, interface或enum
int n,m,x,tol,head[2010];
^
0_0_27280758_28878\Main.java:7: 错误: 需要class, interface或enum
struct edge
^
0_0_27280758_28878\Main.java:10: 错误: 需要class, interface或enum
}es[10010];
^
0_0_27280758_28878\Main.java:11: 错误: 需要class, interface或enum
void addedge( int u , int v , int w )
^
0_0_27280758_28878\Main.java:14: 错误: 需要class, interface或enum
es[tol].cost = w;
^
0_0_27280758_28878\Main.java:15: 错误: 需要class, interface或enum
es[tol].next = head[u];
^
0_0_27280758_28878\Main.java:16: 错误: 需要class, interface或enum
head[u] = tol++;
^
0_0_27280758_28878\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:18: 错误: 需要class, interface或enum
LL dis[2010]; int cnt[2010]; bool vis[2010];
^
0_0_27280758_28878\Main.java:18: 错误: 需要class, interface或enum
LL dis[2010]; int cnt[2010]; bool vis[2010];
^
0_0_27280758_28878\Main.java:19: 错误: 需要class, interface或enum
int spfa()
^
0_0_27280758_28878\Main.java:21: 错误: 需要class, interface或enum
for( int i=0 ; i<=n ; i++ )
^
0_0_27280758_28878\Main.java:21: 错误: 需要class, interface或enum
for( int i=0 ; i<=n ; i++ )
^
0_0_27280758_28878\Main.java:23: 错误: 需要class, interface或enum
queue<int>Q;
^
0_0_27280758_28878\Main.java:24: 错误: 需要class, interface或enum
Q.push(0);
^
0_0_27280758_28878\Main.java:25: 错误: 需要class, interface或enum
dis[0] = 0;
^
0_0_27280758_28878\Main.java:26: 错误: 需要class, interface或enum
cnt[0] = 1;
^
0_0_27280758_28878\Main.java:27: 错误: 需要class, interface或enum
vis[0] = true;
^
0_0_27280758_28878\Main.java:28: 错误: 需要class, interface或enum
while( !Q.empty() )
^
0_0_27280758_28878\Main.java:30: 错误: 需要class, interface或enum
int u = Q.front(); Q.pop(); vis[u] = false;
^
0_0_27280758_28878\Main.java:30: 错误: 需要class, interface或enum
int u = Q.front(); Q.pop(); vis[u] = false;
^
0_0_27280758_28878\Main.java:31: 错误: 需要class, interface或enum
for( int i=head[u] ; i!=-1 ; i=es[i].next )
^
0_0_27280758_28878\Main.java:31: 错误: 需要class, interface或enum
for( int i=head[u] ; i!=-1 ; i=es[i].next )
^
0_0_27280758_28878\Main.java:31: 错误: 需要class, interface或enum
for( int i=head[u] ; i!=-1 ; i=es[i].next )
^
0_0_27280758_28878\Main.java:34: 错误: 需要class, interface或enum
if ( dis[v]>dis[u]+w )
^
0_0_27280758_28878\Main.java:37: 错误: 需要class, interface或enum
if ( !vis[v] )
^
0_0_27280758_28878\Main.java:40: 错误: 需要class, interface或enum
Q.push(v);
^
0_0_27280758_28878\Main.java:41: 错误: 需要class, interface或enum
cnt[v] ++;
^
0_0_27280758_28878\Main.java:42: 错误: 需要class, interface或enum
if ( cnt[v]>=n ) return -1;
^
0_0_27280758_28878\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:51: 错误: 需要class, interface或enum
int T; scanf( "%d" , &T );
^
0_0_27280758_28878\Main.java:52: 错误: 需要class, interface或enum
for( int cas=1 ; cas<=T ; cas++ )
^
0_0_27280758_28878\Main.java:52: 错误: 需要class, interface或enum
for( int cas=1 ; cas<=T ; cas++ )
^
0_0_27280758_28878\Main.java:52: 错误: 需要class, interface或enum
for( int cas=1 ; cas<=T ; cas++ )
^
0_0_27280758_28878\Main.java:55: 错误: 需要class, interface或enum
tol = 0; memset( head , -1 , sizeof(head) );
^
0_0_27280758_28878\Main.java:55: 错误: 需要class, interface或enum
tol = 0; memset( head , -1 , sizeof(head) );
^
0_0_27280758_28878\Main.java:56: 错误: 需要class, interface或enum
for( int i=1 ; i<=n ; i++ )
^
0_0_27280758_28878\Main.java:56: 错误: 需要class, interface或enum
for( int i=1 ; i<=n ; i++ )
^
0_0_27280758_28878\Main.java:56: 错误: 需要class, interface或enum
for( int i=1 ; i<=n ; i++ )
^
0_0_27280758_28878\Main.java:59: 错误: 需要class, interface或enum
if ( i!=1 ) addedge( i , i-1 , -1 );
^
0_0_27280758_28878\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:61: 错误: 需要class, interface或enum
for( int i=1 ; i<=m ; i++ )
^
0_0_27280758_28878\Main.java:61: 错误: 需要class, interface或enum
for( int i=1 ; i<=m ; i++ )
^
0_0_27280758_28878\Main.java:63: 错误: 需要class, interface或enum
int a,b; scanf( "%d%d" , &a , &b );
^
0_0_27280758_28878\Main.java:64: 错误: 需要class, interface或enum
int c,d; scanf( "%d%d" , &c , &d );
^
0_0_27280758_28878\Main.java:64: 错误: 需要class, interface或enum
int c,d; scanf( "%d%d" , &c , &d );
^
0_0_27280758_28878\Main.java:65: 错误: 需要class, interface或enum
if ( a==b&&c==d )
^
0_0_27280758_28878\Main.java:70: 错误: 需要class, interface或enum
addedge( c , a , -x );
^
0_0_27280758_28878\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:82: 错误: 需要class, interface或enum
addedge( a , c , x-1 );
^
0_0_27280758_28878\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:87: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:94: 错误: 需要class, interface或enum
addedge( c , a , -x-1 );
^
0_0_27280758_28878\Main.java:95: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:106: 错误: 需要class, interface或enum
addedge( b , c , x-1 );
^
0_0_27280758_28878\Main.java:107: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:111: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:115: 错误: 需要class, interface或enum
if ( spfa()==-1 )
^
0_0_27280758_28878\Main.java:118: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:121: 错误: 需要class, interface或enum
for( int i=2 ; i<=n ; i++ )
^
0_0_27280758_28878\Main.java:121: 错误: 需要class, interface或enum
for( int i=2 ; i<=n ; i++ )
^
0_0_27280758_28878\Main.java:123: 错误: 需要class, interface或enum
printf( "\n" );
^
0_0_27280758_28878\Main.java:124: 错误: 需要class, interface或enum
}
^
0_0_27280758_28878\Main.java:127: 错误: 需要class, interface或enum
}
^
72 个错误
|