摘要: In the game of Jack Straws, a number of plastic or wooden "straws" are dumped on the table and players try to remove them one-by-one without disturbin 阅读全文
posted @ 2019-01-28 19:21 千摆渡Qbd 阅读(234) 评论(0) 推荐(0)
摘要: 小Hi的学校总共有N名学生,编号1-N。学校刚刚进行了一场全校的古诗文水平测验。 学校没有公布测验的成绩,所以小Hi只能得到一些小道消息,例如X号同学的分数比Y号同学的分数高S分。 小Hi想知道利用这些消息,能不能判断出某两位同学之间的分数高低? Input 第一行包含三个整数N, M和Q。N表示学 阅读全文
posted @ 2019-01-28 18:18 千摆渡Qbd 阅读(226) 评论(0) 推荐(0)
摘要: A Bug's Life POJ - 2492 Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two dif 阅读全文
posted @ 2019-01-28 18:17 千摆渡Qbd 阅读(184) 评论(0) 推荐(0)
摘要: Play on Words HDU - 1116 Some of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that door 阅读全文
posted @ 2019-01-28 18:14 千摆渡Qbd 阅读(167) 评论(0) 推荐(0)