随笔分类 -  UVALive

摘要:3231 - Fair ShareAsia - Seoul - 2004/2005You are given N processors and M jobs to be processed. Two processors are specified to each job. To processth... 阅读全文
posted @ 2014-08-18 13:50 hyx1 阅读(191) 评论(0) 推荐(0)
摘要:After doing Ray a great favor to collect sticks for Ray, Poor Neal becomes very hungry. In return for Neal's help, Ray makes a great dinner for Neal. ... 阅读全文
posted @ 2014-07-20 18:45 hyx1 阅读(273) 评论(0) 推荐(0)
摘要:It is said that the people of Menggol lived in caves. A tribe's caves were connected to each other with paths. The paths were so designed that there w... 阅读全文
posted @ 2014-07-18 15:21 hyx1 阅读(664) 评论(0) 推荐(0)
摘要:Panagola, The Lord of city F likes to parade very much. He always inspects his city in his car and enjoys the welcome of his citizens. City F has a re... 阅读全文
posted @ 2014-07-18 11:14 hyx1 阅读(244) 评论(0) 推荐(0)
摘要:DescriptionThere are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful string painter. Wi... 阅读全文
posted @ 2014-07-17 13:16 hyx1 阅读(262) 评论(0) 推荐(0)
摘要:Run Length Encoding(RLE) is a simple form of compression. RLE consists of the process for searching for a repeated runs of a single character in a str... 阅读全文
posted @ 2014-07-17 11:02 hyx1 阅读(206) 评论(0) 推荐(0)
摘要:Bubu's bookshelf is in a mess! Help him!There arenbooks on his bookshelf. We define the mess value to be the number of segments ofconsecutive equal-he... 阅读全文
posted @ 2014-07-16 20:54 hyx1 阅读(401) 评论(0) 推荐(0)
摘要:Mr. White, a fat man, now is crazy about a game named ``Dance, Dance, Revolution". But his dance skill is so poor that he could not dance a dance, eve... 阅读全文
posted @ 2014-05-13 20:23 hyx1 阅读(202) 评论(0) 推荐(0)
摘要:The NASA Space Center, Houston, is less than 200 miles from San Antonio, Texas (the site of the ACM Finals this year). This is the place where the ast... 阅读全文
posted @ 2014-05-12 23:47 hyx1 阅读(295) 评论(0) 推荐(0)
摘要:Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he h... 阅读全文
posted @ 2014-05-12 19:19 hyx1 阅读(204) 评论(0) 推荐(0)
摘要:Integers1, 2, 3,...,nare placed on a circle in the increasing order as in the following figure. We want to construct a sequence from these numbers on ... 阅读全文
posted @ 2014-05-12 17:52 hyx1 阅读(328) 评论(0) 推荐(0)
摘要:The Bandulu Space Agency (BSA) has plans for the following three space missions:Mission A: Landing on Ganymede, the largest moon of Jupiter.Mission B:... 阅读全文
posted @ 2014-05-03 09:50 hyx1 阅读(172) 评论(0) 推荐(0)
摘要:As you must have experienced, instead of landing immediately, an aircraft sometimes waits in a holding loop close to the runway. This holding mechanis... 阅读全文
posted @ 2014-04-30 20:34 hyx1 阅读(265) 评论(0) 推荐(0)
摘要:Consider the following exercise, found in a generic linear algebra textbook.LetAbe ann×nmatrix. Prove that the following statements are equivalent:Ais... 阅读全文
posted @ 2014-04-30 11:05 hyx1 阅读(286) 评论(0) 推荐(0)
摘要:Traveling salesmen ofnhn. (the prestigious Korean internet company) report their current location to the company on a regular basis. They also have to... 阅读全文
posted @ 2014-04-27 20:47 hyx1 阅读(298) 评论(0) 推荐(0)