摘要: Cashier EmploymentTime Limit: 10 Seconds Memory Limit: 32768 KBA supermarket in Tehran is open 24 hours a day every day and needs a number of cashiers to fit its need. The supermarket manager has hired you to help him, solve his problem. The problem is that the supermarket needs different number ... 阅读全文
posted @ 2013-08-25 01:02 Ramanujan 阅读(374) 评论(0) 推荐(0) 编辑
摘要: IntervalsTime Limit: 10 Seconds Memory Limit: 32768 KBYou are given n closed, integer intervals [ai, bi] and n integers c1, ..., cn. Write a program that: > reads the number of intervals, their endpoints and integers c1, ..., cn from the standard input, > computes the minimal size of a... 阅读全文
posted @ 2013-08-25 01:00 Ramanujan 阅读(271) 评论(0) 推荐(0) 编辑