Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: Cutting a Block
Description Carpenter Bill has a huge wooden block. The block has a shape of rectangular parallelepiped. The block is so huge that it cannot pass through the door of Bill’s house. So he decided to cut it into Write a program that would help Bill to cut his block. Input Let us introduce a coordinate system such that the edges of the block are parallel to the coordinate axes and one of the block’s corners is placed at the origin. The opposite corner of the block has coordinates ( The first line of the input file contains four integer numbers — Output Output file should contain Coordinates must be precise up to eight digits after the decimal point. Sample Input
Sample Output
Hint Source Northeastern Europe 2005, Northern Subregion |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator