2014年8月26日

摘要: Problem D: Airport Express In a small city called Iokh, a train service, Airport-Express, takes residents to the airport more quickly than other trans 阅读全文
posted @ 2014-08-26 16:02 huaihuaibuguai 阅读(319) 评论(0) 推荐(0) 编辑

2014年7月24日

摘要: Description Japan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the 阅读全文
posted @ 2014-07-24 16:34 huaihuaibuguai 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Description Mr. K. I. has a very big movie collection. He has organized his collection in a big stack. Whenever he wants to watch one of the movies, h 阅读全文
posted @ 2014-07-24 16:22 huaihuaibuguai 阅读(439) 评论(0) 推荐(0) 编辑

2014年7月9日

摘要: Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, ..., x 阅读全文
posted @ 2014-07-09 17:46 huaihuaibuguai 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Description Background"KO-RE-A, KO-RE-A" shout 54.000 happy football fans after their team has reached the semifinals of the FIFA World Cup in their h 阅读全文
posted @ 2014-07-09 17:40 huaihuaibuguai 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Description The Recaman's sequence is defined by a0 = 0 ; for m > 0, a m = a m−1 − m if the rsulting a m is positive and not already in the sequence, 阅读全文
posted @ 2014-07-09 17:33 huaihuaibuguai 阅读(104) 评论(0) 推荐(0) 编辑

2014年7月5日

摘要: Description An accutron shows time with four digits, from 0000 to 2359. Every digit is represented by 3*3 characters, including '|'s, '_'s and blanks. 阅读全文
posted @ 2014-07-05 15:29 huaihuaibuguai 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Description The cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the next N (1 <= N <= 10,000) weeks, the price of milk 阅读全文
posted @ 2014-07-05 12:01 huaihuaibuguai 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Description Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B (1 <= A 阅读全文
posted @ 2014-07-05 11:49 huaihuaibuguai 阅读(326) 评论(0) 推荐(0) 编辑
摘要: Description Farmer John is assigning some of his N (1 <= N <= 25,000) cows to do some cleaning chores around the barn. He always wants to have one cow 阅读全文
posted @ 2014-07-05 11:32 huaihuaibuguai 阅读(369) 评论(0) 推荐(0) 编辑

导航