摘要: Sorting a Three-Valued SequenceIOI'96 - Day 2Sorting is one of the most frequently performed computational tasks. Consider the special sorting problem... 阅读全文
posted @ 2015-11-29 22:13 徐王 阅读(486) 评论(0) 推荐(0)
摘要: Ordered FractionsConsider the set of all reduced fractions between 0 and 1 inclusive with denominators less than or equal to N.Here is the set when N ... 阅读全文
posted @ 2015-11-29 21:38 徐王 阅读(224) 评论(0) 推荐(0)
摘要: The CastleIOI'94 - Day 1In a stroke of luck almost beyond imagination, Farmer John was sent a ticket to the Irish Sweepstakes (really a lottery) for h... 阅读全文
posted @ 2015-11-29 13:37 徐王 阅读(234) 评论(0) 推荐(0)