![]() | ||||
Online Judge | Problem Set | Authors | Online Contests | User |
---|---|---|---|---|
Web Board Home Page F.A.Qs Announcement | Current Contest Past Contests Scheduled Contests Award Contest |
Min-Max Time Limit:1000MS Memory Limit:65536K
Define the following function
![]() Given the value C of F(p1, p2 ... pn), can you find the minimum and maximum value of F(q1, q2 ... qn)? Input
The input contains several test cases. For each test case, it contains three lines.
For each test case, output the minimum and maximum value in a single line with the fraction rounded to 3 decimal places. Sample Input
POJ Monthly--2005.08.28,Static |
[Submit] [Go Back] [Status] [Discuss]
All Copyright Reserved 2003-2005 Ying Fuchen,Xu Pengcheng
Any problem, Please Contact Administrator