0_0_20977397_15077.cpp:21:21: error: stray '#' in program
for(int i=0;i<=n;i++){
^
0_0_20977397_15077.cpp:21:26: error: stray '#' in program
for(int i=0;i<=n;i++){
^
0_0_20977397_15077.cpp:28:67: error: stray '#' in program
e[cnt].u=u,e[cnt].v=v,e[cnt].w=w,e[cnt].next=head[u],head[u]=cnt++;
^
0_0_20977397_15077.cpp:28:72: error: stray '#' in program
e[cnt].u=u,e[cnt].v=v,e[cnt].w=w,e[cnt].next=head[u],head[u]=cnt++;
^
0_0_20977397_15077.cpp:33:20: error: stray '#' in program
for(int i=0;i<n;i++){
^
0_0_20977397_15077.cpp:33:25: error: stray '#' in program
for(int i=0;i<n;i++){
^
0_0_20977397_15077.cpp:38:21: error: stray '#' in program
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:38:26: error: stray '#' in program
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:39:15: error: stray '#' in program
for(int j=i+1;j<=n;j++){
^
0_0_20977397_15077.cpp:39:28: error: stray '#' in program
for(int j=i+1;j<=n;j++){
^
0_0_20977397_15077.cpp:39:33: error: stray '#' in program
for(int j=i+1;j<=n;j++){
^
0_0_20977397_15077.cpp:64:23: error: stray '#' in program
if(dist[d]>dist[s]+e[i].w){
^
0_0_20977397_15077.cpp:65:21: error: stray '#' in program
dist[d]=dist[s]+e[i].w;
^
0_0_20977397_15077.cpp:80:21: error: stray '#' in program
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:80:26: error: stray '#' in program
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:83:21: error: stray '#' in program
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:83:26: error: stray '#' in program
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:85:30: error: stray '#' in program
for(int j=1;j<=n && flag;j++){
^
0_0_20977397_15077.cpp:85:35: error: stray '#' in program
for(int j=1;j<=n && flag;j++){
^
0_0_20977397_15077.cpp:86:16: error: stray '#' in program
for(int t=j+1;t<=n && flag;t++){
^
0_0_20977397_15077.cpp:86:37: error: stray '#' in program
for(int t=j+1;t<=n && flag;t++){
^
0_0_20977397_15077.cpp:86:42: error: stray '#' in program
for(int t=j+1;t<=n && flag;t++){
^
0_0_20977397_15077.cpp:88:25: error: stray '#' in program
if(dist[i]==dist[j]+dist[t]){
^
0_0_20977397_15077.cpp:89:10: error: stray '#' in program
ans++;
^
0_0_20977397_15077.cpp:89:15: error: stray '#' in program
ans++;
^
0_0_20977397_15077.cpp: In function 'void initial()':
0_0_20977397_15077.cpp:21:24: error: expected ')' before ';' token
for(int i=0;i<=n;i++){
^
0_0_20977397_15077.cpp:21:27: error: lvalue required as unary '&' operand
for(int i=0;i<=n;i++){
^
0_0_20977397_15077.cpp:21:30: error: expected primary-expression before ')' token
for(int i=0;i<=n;i++){
^
0_0_20977397_15077.cpp: In function 'void adde(int, int, int)':
0_0_20977397_15077.cpp:28:73: error: lvalue required as unary '&' operand
e[cnt].u=u,e[cnt].v=v,e[cnt].w=w,e[cnt].next=head[u],head[u]=cnt++;
^
0_0_20977397_15077.cpp: In function 'void input()':
0_0_20977397_15077.cpp:33:23: error: expected ')' before ';' token
for(int i=0;i<n;i++){
^
0_0_20977397_15077.cpp:33:26: error: lvalue required as unary '&' operand
for(int i=0;i<n;i++){
^
0_0_20977397_15077.cpp:33:29: error: expected primary-expression before ')' token
for(int i=0;i<n;i++){
^
0_0_20977397_15077.cpp:38:24: error: expected ')' before ';' token
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:38:27: error: lvalue required as unary '&' operand
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp:38:30: error: expected primary-expression before ')' token
for(int i=1;i<=n;i++){
^
0_0_20977397_15077.cpp: In function 'void spfa()':
0_0_20977397_15077.cpp:64:26: error: expected ')' before ';' token
if(dist[d]>dist[s]+e[i].w){
^
0_0_20977397_15077.cpp:64:33: error: expected ';' before ')' token
if(dist[d]>dist[s]+e[i].w){
^
0_0_20977397_15077.cpp:108:1: error: expected '}' at end of input
}
^
0_0_20977397_15077.cpp:108:1: error: expected '}' at end of input
0_0_20977397_15077.cpp:108:1: error: expected '}' at end of input
|