摘要: Twilight Sparkle was playing Ludo with her friends Rainbow Dash, Apple Jack and Flutter Shy. But she kept losing. Having returned to the castle, Twili... 阅读全文
posted @ 2014-08-15 19:40 S_Black 阅读(235) 评论(0) 推荐(0) 编辑
摘要: One day, Twilight Sparkle is interested in how to sort a sequence of integersa1, a2, ..., anin non-decreasing order. Being a young unicorn, the only o... 阅读全文
posted @ 2014-08-15 19:38 S_Black 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Twilight Sparkle once got a crystal from the Crystal Mine. A crystal of size n (n is odd; n > 1) is an n × n matrix with a diamond inscribed into it.Y... 阅读全文
posted @ 2014-08-15 19:37 S_Black 阅读(169) 评论(0) 推荐(0) 编辑