0_0_34776423_19771.cpp:9:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_34776423_19771.cpp: In function 'int main()':
0_0_34776423_19771.cpp:40:27: error: expected primary-expression before '=' token
for(i=0;i<m;i++) {="" scanf("%s="" %s%d",s1,s2,&x);="" if(!q[s1])="" q[s1]="++tot;" if(!q[s2])="" q[s2]="++tot;" bian[i].u="q[s1];" bian[i].v="q[s2];" bian[i].w="x;" if(max1<x)="" max1="x;" }="" scanf("%s%s",s1,s2);="" s="q[s1];" t="q[s2];" int="" low="0," high="max1," mid;="" while(low<="high)" mid="(low+high)">>1;
^
0_0_34776423_19771.cpp:40:60: error: expected primary-expression before '=' token
for(i=0;i<m;i++) {="" scanf("%s="" %s%d",s1,s2,&x);="" if(!q[s1])="" q[s1]="++tot;" if(!q[s2])="" q[s2]="++tot;" bian[i].u="q[s1];" bian[i].v="q[s2];" bian[i].w="x;" if(max1<x)="" max1="x;" }="" scanf("%s%s",s1,s2);="" s="q[s1];" t="q[s2];" int="" low="0," high="max1," mid;="" while(low<="high)" mid="(low+high)">>1;
^
0_0_34776423_19771.cpp:40:200: error: expected primary-expression before '=' token
for(i=0;i<m;i++) {="" scanf("%s="" %s%d",s1,s2,&x);="" if(!q[s1])="" q[s1]="++tot;" if(!q[s2])="" q[s2]="++tot;" bian[i].u="q[s1];" bian[i].v="q[s2];" bian[i].w="x;" if(max1<x)="" max1="x;" }="" scanf("%s%s",s1,s2);="" s="q[s1];" t="q[s2];" int="" low="0," high="max1," mid;="" while(low<="high)" mid="(low+high)">>1;
^
0_0_34776423_19771.cpp:40:224: error: expected primary-expression before '=' token
for(i=0;i<m;i++) {="" scanf("%s="" %s%d",s1,s2,&x);="" if(!q[s1])="" q[s1]="++tot;" if(!q[s2])="" q[s2]="++tot;" bian[i].u="q[s1];" bian[i].v="q[s2];" bian[i].w="x;" if(max1<x)="" max1="x;" }="" scanf("%s%s",s1,s2);="" s="q[s1];" t="q[s2];" int="" low="0," high="max1," mid;="" while(low<="high)" mid="(low+high)">>1;
^
0_0_34776423_19771.cpp:40:283: error: expected primary-expression before '=' token
for(i=0;i<m;i++) {="" scanf("%s="" %s%d",s1,s2,&x);="" if(!q[s1])="" q[s1]="++tot;" if(!q[s2])="" q[s2]="++tot;" bian[i].u="q[s1];" bian[i].v="q[s2];" bian[i].w="x;" if(max1<x)="" max1="x;" }="" scanf("%s%s",s1,s2);="" s="q[s1];" t="q[s2];" int="" low="0," high="max1," mid;="" while(low<="high)" mid="(low+high)">>1;
^
0_0_34776423_19771.cpp:43:31: error: expected primary-expression before '=' token
for(i=0;i<m;i++) {="" if(bian[i].w="">=mid)
^
0_0_34776423_19771.cpp:50:17: error: 'low' was not declared in this scope
low=mid+1;
^
0_0_34776423_19771.cpp:50:21: error: 'mid' was not declared in this scope
low=mid+1;
^
0_0_34776423_19771.cpp:55:17: error: 'high' was not declared in this scope
high=mid-1;
^
0_0_34776423_19771.cpp:55:22: error: 'mid' was not declared in this scope
high=mid-1;
^
0_0_34776423_19771.cpp: At global scope:
0_0_34776423_19771.cpp:60:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_34776423_19771.cpp:61:1: error: expected declaration before '}' token
}
^
|