摘要: A - Xor Sum Zeus 和 Prometheus 做了一个游戏,Prometheus 给 Zeus 一个集合,集合中包含了N个正整数,随后 Prometheus 将向 Zeus 发起M次询问,每次询问中包含一个正整数 S ,之后 Zeus 需要在集合当中找出一个正整数 K ,使得 K 与 阅读全文
posted @ 2018-08-09 16:45 jiangyihui 阅读(129) 评论(0) 推荐(0)
摘要: D - CombinationsGiven n different objects, you want to take k of them. How many ways to can do it? For example, say there are 4 items; you want to tak 阅读全文
posted @ 2018-08-09 12:56 jiangyihui 阅读(184) 评论(0) 推荐(0)