摘要: Sereja has a sequence that consists of n positive integers, a1, a2, ..., an. First Sereja took a piece of squared paper and wrote all distinct non-emp 阅读全文
posted @ 2019-04-16 17:12 断腿三郎 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Some mathematical background. This problem asks you to compute the expected value of a random variable. If you haven't seen those before, the simple d 阅读全文
posted @ 2019-04-16 16:22 断腿三郎 阅读(305) 评论(0) 推荐(0) 编辑