摘要: 时间限制: 2000 MS 内存限制: 65535 MB 问题描述 There is a dice with N sides, which are numbered from 1,2,...,n and have the equal possibility to show up when one rolls a dice. Each side has an integer Ai o... 阅读全文
posted @ 2013-05-24 14:42 1002liu 阅读(187) 评论(0) 推荐(0) 编辑
摘要: One day, Implus gets interested in binary addition and binary carry. He will transfer all decimal digits to binary digits to make the addition. Not as 阅读全文
posted @ 2013-05-24 00:13 1002liu 阅读(206) 评论(0) 推荐(0) 编辑
摘要: In the year 3013, it has been 1000 years since the previous predicted rapture. However, the Maya will not play a joke any more and the Rapture finally 阅读全文
posted @ 2013-05-24 00:11 1002liu 阅读(209) 评论(0) 推荐(1) 编辑