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_38765570_3320.cpp: In function 'int main()':
0_0_38765570_3320.cpp:37:24: error: 'x' was not declared in this scope
   37 |         a[i].B=a[i].x0-x[i].x1;
      |                        ^
0_0_38765570_3320.cpp:49:47: error: 'x' was not declared in this scope
   49 |                                 t=fabs(a[i].A*x+a[i].B*y+a[i].C)/sqrt(a[i].A*a[i].A+a[i].B*a[i].B);
      |                                               ^
0_0_38765570_3320.cpp:49:56: error: 'y' was not declared in this scope
   49 |                                 t=fabs(a[i].A*x+a[i].B*y+a[i].C)/sqrt(a[i].A*a[i].A+a[i].B*a[i].B);
      |                                                        ^
0_0_38765570_3320.cpp:55:42: error: 'y2' was not declared in this scope; did you mean 't2'?
   55 |                                 t=min(t1,y2);
      |                                          ^~
      |                                          t2


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 08:32:52, Gzip enabled