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: Rectangular Covering
Description
Input The input consists of several test cases. Each test cases begins with a line containing a single integer Output Output the minimum total area of rectangles on a separate line for each test case. Sample Input 2 0 1 1 0 0 Sample Output 1 Hint The total area is calculated by adding up the areas of rectangles used. Source PKU Local 2006, kicc |

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

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

Any problem, Please Contact Administrator