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_38744054_10112.cpp:1:23: error: 'wind' was not declared in this scope
    1 |             double x2=wind[j-1].x,y2=wind[j-1].y;
      |                       ^~~~
0_0_38744054_10112.cpp:1:28: error: 'j' was not declared in this scope
    1 |             double x2=wind[j-1].x,y2=wind[j-1].y;
      |                            ^
0_0_38744054_10112.cpp:2:13: error: expected unqualified-id before 'if'
    2 |             if((x1-x)*(x2-x)<=0||(y1-y)*(y2-y)<=0)
      |             ^~
0_0_38744054_10112.cpp:9:13: error: expected unqualified-id before 'else'
    9 |             else
      |             ^~~~
0_0_38744054_10112.cpp:34:9: error: expected declaration before '}' token
   34 |         }
      |         ^
0_0_38744054_10112.cpp:35:15: error: expected constructor, destructor, or type conversion before '(' token
   35 |         printf("%.4lf\n",res);
      |               ^
0_0_38744054_10112.cpp:36:5: error: expected declaration before '}' token
   36 |     }
      |     ^
0_0_38744054_10112.cpp:37:5: error: expected unqualified-id before 'return'
   37 |     return 0;
      |     ^~~~~~
0_0_38744054_10112.cpp:38:1: error: expected declaration before '}' token
   38 | }
      | ^


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-12-02 17:41:50, Gzip enabled