F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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]);
                                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 06:07:57, Gzip enabled