0_0_30382651_13714.cpp: In function 'int main(int, char**)':
0_0_30382651_13714.cpp:9:23: error: 'n' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_30382651_13714.cpp:9:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_30382651_13714.cpp:9:27: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_30382651_13714.cpp:21:29: error: 'a' was not declared in this scope
scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].c);
^
0_0_30382651_13714.cpp:33:36: error: 'printf' was not declared in this scope
{printf("No Solution/n");continue;}
^
0_0_30382651_13714.cpp:35:38: error: 'printf' was not declared in this scope
else {printf("0.000000/n");continue;}
^
0_0_30382651_13714.cpp:45: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_30382651_13714.cpp:45: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_30382651_13714.cpp:45: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_30382651_13714.cpp:47:31: error: 'dp' was not declared in this scope
for(i=0;i<(1<<n);i++) dp[i]=1e100;
^
0_0_30382651_13714.cpp:49:9: error: 'dp' was not declared in this scope
dp[0]=0;
^
0_0_30382651_13714.cpp:51:9: error: 'ql' was not declared in this scope
ql=fl=0;
^
0_0_30382651_13714.cpp:51:12: error: 'fl' was not declared in this scope
ql=fl=0;
^
0_0_30382651_13714.cpp:55:17: error: 'a' was not declared in this scope
if (a[i].c==0)
^
0_0_30382651_13714.cpp:57:17: error: 'qq' was not declared in this scope
qq[++ql]=i;
^
0_0_30382651_13714.cpp:59:18: error: 'fq' was not declared in this scope
else fq[++fl]=i;
^
0_0_30382651_13714.cpp:81:33: error: 'dis' was not declared in this scope
if (dis[qq[j]][qq[k]]<l1)
^
0_0_30382651_13714.cpp:81:37: error: 'qq' was not declared in this scope
if (dis[qq[j]][qq[k]]<l1)
^
0_0_30382651_13714.cpp:107:33: error: 'dis' was not declared in this scope
if (dis[qq[j]][fq[k]]<l1)
^
0_0_30382651_13714.cpp:107:37: error: 'qq' was not declared in this scope
if (dis[qq[j]][fq[k]]<l1)
^
0_0_30382651_13714.cpp:107:44: error: 'fq' was not declared in this scope
if (dis[qq[j]][fq[k]]<l1)
^
0_0_30382651_13714.cpp:129: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_30382651_13714.cpp:135:39: error: 'printf' was not declared in this scope
printf("%.6lf/n",dp[(1<<ql)-1]);
^
|