0_0_30335629_10809.cpp: In function 'int main(int, char**)':
0_0_30335629_10809.cpp:5:23: error: 'n' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_30335629_10809.cpp:5:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_30335629_10809.cpp:5:27: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_30335629_10809.cpp:11:29: error: 'a' was not declared in this scope
scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].c);
^
0_0_30335629_10809.cpp:17:36: error: 'printf' was not declared in this scope
{printf("No Solution/n");continue;}
^
0_0_30335629_10809.cpp:18:38: error: 'printf' was not declared in this scope
else {printf("0.000000/n");continue;}
^
0_0_30335629_10809.cpp:23:17: error: 'dis' was not declared in this scope
dis[i][j]=sqrt((a[i].x-a[j].x)*(a[i].x-a[j].x)+(a[i].y-a[j].y)*(a[i].y-a[j].y));
^
0_0_30335629_10809.cpp:23:33: error: 'a' was not declared in this scope
dis[i][j]=sqrt((a[i].x-a[j].x)*(a[i].x-a[j].x)+(a[i].y-a[j].y)*(a[i].y-a[j].y));
^
0_0_30335629_10809.cpp:23:95: error: 'sqrt' was not declared in this scope
dis[i][j]=sqrt((a[i].x-a[j].x)*(a[i].x-a[j].x)+(a[i].y-a[j].y)*(a[i].y-a[j].y));
^
0_0_30335629_10809.cpp:24:31: error: 'dp' was not declared in this scope
for(i=0;i<(1<<n);i++) dp[i]=1e100;
^
0_0_30335629_10809.cpp:25:9: error: 'dp' was not declared in this scope
dp[0]=0;
^
0_0_30335629_10809.cpp:26:9: error: 'ql' was not declared in this scope
ql=fl=0;
^
0_0_30335629_10809.cpp:26:12: error: 'fl' was not declared in this scope
ql=fl=0;
^
0_0_30335629_10809.cpp:28:17: error: 'a' was not declared in this scope
if (a[i].c==0)
^
0_0_30335629_10809.cpp:29:17: error: 'qq' was not declared in this scope
qq[++ql]=i;
^
0_0_30335629_10809.cpp:30:18: error: 'fq' was not declared in this scope
else fq[++fl]=i;
^
0_0_30335629_10809.cpp:41:33: error: 'dis' was not declared in this scope
if (dis[qq[j]][qq[k]]<l1)
^
0_0_30335629_10809.cpp:41:37: error: 'qq' was not declared in this scope
if (dis[qq[j]][qq[k]]<l1)
^
0_0_30335629_10809.cpp:54:33: error: 'dis' was not declared in this scope
if (dis[qq[j]][fq[k]]<l1)
^
0_0_30335629_10809.cpp:54:37: error: 'qq' was not declared in this scope
if (dis[qq[j]][fq[k]]<l1)
^
0_0_30335629_10809.cpp:54:44: error: 'fq' was not declared in this scope
if (dis[qq[j]][fq[k]]<l1)
^
0_0_30335629_10809.cpp:65:68: error: 'min' was not declared in this scope
dp[i|(1<<(j-1))]=min(dp[i|(1<<j-1)],dp[i]+l1+l2);
^
0_0_30335629_10809.cpp:68:39: error: 'printf' was not declared in this scope
printf("%.6lf/n",dp[(1<<ql)-1]);
^
|