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_28650800_23912.cpp: In function 'int main()':
0_0_28650800_23912.cpp:19:44: error: redeclaration of 'double x'
     double x1,y1,ax1,ay1,x2,y2,ax2,ay2,x,y,x,y,res;
                                            ^
0_0_28650800_23912.cpp:19:40: note: 'double x' previously declared here
     double x1,y1,ax1,ay1,x2,y2,ax2,ay2,x,y,x,y,res;
                                        ^
0_0_28650800_23912.cpp:19:46: error: redeclaration of 'double y'
     double x1,y1,ax1,ay1,x2,y2,ax2,ay2,x,y,x,y,res;
                                              ^
0_0_28650800_23912.cpp:19:42: note: 'double y' previously declared here
     double x1,y1,ax1,ay1,x2,y2,ax2,ay2,x,y,x,y,res;
                                          ^
0_0_28650800_23912.cpp:30:9: error: 'minx' was not declared in this scope
         minx=max(x1,x2);
         ^
0_0_28650800_23912.cpp:32:9: error: 'miny' was not declared in this scope
         miny=max(y1,y2);
         ^
0_0_28650800_23912.cpp:34:9: error: 'maxx' was not declared in this scope
         maxx=min(ax1,ax2);
         ^
0_0_28650800_23912.cpp:36:9: error: 'maxy' was not declared in this scope
         maxy=min(ay1,ay2);
         ^
0_0_28650800_23912.cpp:38:14: error: 'ax' was not declared in this scope
         if(x>ax||y>ay)
              ^
0_0_28650800_23912.cpp:38:20: error: 'ay' was not declared in this scope
         if(x>ax||y>ay)
                    ^


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-10-06 12:33:13, Gzip enabled