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_38826685_3016.cpp: In function 'int DFS(GRAPH, int)':
0_0_38826685_3016.cpp:52:44: error: 'amp' was not declared in this scope
   52 |                         if( !visited[ w ] && graphptr.G[v][w] )
      |                                            ^~~
0_0_38826685_3016.cpp:52:52: error: expected ')' before ';' token
   52 |                         if( !visited[ w ] && graphptr.G[v][w] )
      |                           ~                        ^
      |                                                    )
0_0_38826685_3016.cpp:52:70: error: expected ';' before ')' token
   52 |                         if( !visited[ w ] && graphptr.G[v][w] )
      |                                                                      ^~
      |                                                                      ;
0_0_38826685_3016.cpp: In function 'int main()':
0_0_38826685_3016.cpp:65:24: error: 'amp' was not declared in this scope
   65 |         scanf("%d %f",&graphptr.topnum,&graphptr.Maxdiatance);
      |                        ^~~
0_0_38826685_3016.cpp:65:69: error: expected ';' before ')' token
   65 |         scanf("%d %f",&graphptr.topnum,&graphptr.Maxdiatance);
      |                                                                     ^
      |                                                                     ;
0_0_38826685_3016.cpp:76:68: error: expected ';' before ')' token
   76 |                 scanf("%f %f",&zuobiao[i].v1,&zuobiao[i].v2);
      |                                                                    ^
      |                                                                    ;
0_0_38826685_3016.cpp:83:162: error: expected ')' before ';' token
   83 |                 if( (zuobiao[i].v1 * zuobiao[i].v1 + zuobiao[i].v2 * zuobiao[i].v2 ) <= ( graphptr.Maxdiatance + 7.5 ) * ( graphptr.Maxdiatance + 7.5 ) && !visited[ i ])//从距离起点符合要求的点开始
      |                   ~                                                                                                                                              ^
      |                                                                                                                                                                  )
0_0_38826685_3016.cpp:83:177: error: expected ';' before ')' token
   83 |                 if( (zuobiao[i].v1 * zuobiao[i].v1 + zuobiao[i].v2 * zuobiao[i].v2 ) <= ( graphptr.Maxdiatance + 7.5 ) * ( graphptr.Maxdiatance + 7.5 ) && !visited[ i ])//从距离起点符合要求的点开始
      |                                                                                                                                                                                 ^
      |                                                                                                                                                                                 ;


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-28 14:15:32, Gzip enabled