摘要: 1017: Fast TransportationTime Limit:10 SecMemory Limit:128 MBSubmit:72Solved:11DescriptionI’m working for a huge transportation company, and this month we get a job that deliver K important medicinal machines from city S to city T. Since the machines is so large that for each machine we should use a 阅读全文
posted @ 2012-12-09 22:35 yefeng1627 阅读(313) 评论(0) 推荐(0) 编辑
摘要: B. Jury Sizetime limit per test1 secondmemory limit per test256 megabytesinputinput.txtoutputoutput.txtIn 2013, the writers of Berland State University should prepare problems fornOlympiads. We will assume that the Olympiads are numbered with consecutive integers from 1 ton. For each Olympiad we kno 阅读全文
posted @ 2012-12-09 20:25 yefeng1627 阅读(274) 评论(0) 推荐(0) 编辑
摘要: A. Cards with Numberstime limit per test1 secondmemory limit per test256 megabytesinputinput.txtoutputoutput.txtPetya has got2ncards, each card contains some integer. The numbers on the cards can be the same. Let's index all cards by consecutive integers from1to2n. We'll denote the number th 阅读全文
posted @ 2012-12-09 20:23 yefeng1627 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Power NetworkTime Limit:2000MSMemory Limit:32768KTotal Submissions:19147Accepted:10099DescriptionA power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supplied with an amount s(u) >= 0 of power, may produce an amount 0 &l 阅读全文
posted @ 2012-12-09 16:02 yefeng1627 阅读(167) 评论(0) 推荐(0) 编辑

Launch CodeCogs Equation Editor