随笔分类 -  UVA

摘要:Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowingthat Ray has a photographic memory and this may no... 阅读全文
posted @ 2014-08-13 15:08 hyx1 阅读(248) 评论(0) 推荐(0)
摘要:Problem FPaths through the HourglassInput:Standard InputOutput:Standard OutputTime Limit:2 SecondsIn the hourglass to the right a path is marked. A pa... 阅读全文
posted @ 2014-05-13 19:30 hyx1 阅读(186) 评论(0) 推荐(0)
摘要:Problem D: Headmaster's HeadacheTime limit: 2 secondsThe headmaster of Spring Field School is considering employing some new teachers for certain subj... 阅读全文
posted @ 2014-05-12 21:31 hyx1 阅读(248) 评论(1) 推荐(0)
摘要:Problem E: WeddingUp to thirty couples will attend a wedding feast, at which they will be seated on either side of a long table. The bride and groom s... 阅读全文
posted @ 2014-05-03 10:56 hyx1 阅读(140) 评论(0) 推荐(0)
摘要:IIUPC2006Problem G: Going in Cycle!!Input: standard inputOutput: standard outputYou are given a weighted directed graph withnvertices andmedges. Each ... 阅读全文
posted @ 2014-04-30 19:01 hyx1 阅读(224) 评论(0) 推荐(0)
摘要:Problem B: The Largest CliqueGiven a directed graphG, consider the following transformation. First, create a new graphT(G)to have the same vertex set ... 阅读全文
posted @ 2014-04-30 11:06 hyx1 阅读(159) 评论(0) 推荐(0)
摘要:Problem C: A Walk Through the ForestJimmy experiences a lot of stress at work these days, especially since his accident made working difficult. To rel... 阅读全文
posted @ 2014-04-29 17:21 hyx1 阅读(212) 评论(0) 推荐(0)
摘要:Problem D: Airport ExpressIn a small city called Iokh, a train service,Airport-Express, takes residents to the airport more quickly than other transpo... 阅读全文
posted @ 2014-04-29 15:45 hyx1 阅读(235) 评论(0) 推荐(0)
摘要:BMega Man’s MissionsInputStandard InputOutputStandard OutputMega Man is off to save the world again. His objective is to kill the Robots created by Dr... 阅读全文
posted @ 2014-04-27 21:35 hyx1 阅读(255) 评论(0) 推荐(0)