2013年5月16日

K - Yet another end of the world(2013南京邀请赛K题)

摘要: K - Yet another end of the world时间限制:5000 Ms内存限制:65535 Kb问题描述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 comes in. Fortunately people have already found out habitable planets, and made enough a 阅读全文

posted @ 2013-05-16 22:39 kuangbin 阅读(1550) 评论(1) 推荐(0) 编辑

C - Count The Carries(2013南京邀请赛C题)

摘要: C - Count The Carries时间限制:3000 Ms内存限制:65535 Kb问题描述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 clever as Gauss, to make the addition from a to b, he will add them one by one from a to b in order 阅读全文

posted @ 2013-05-16 22:21 kuangbin 阅读(1451) 评论(0) 推荐(0) 编辑

A - Play the Dice (2013南京邀请赛A题)

摘要: A - Play the Dice时间限制:2000 MS内存限制:65535 MB问题描述There is a dice withN 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 Aion it. Now here is a game that you can roll this dice once, if the i-th side is up, you will getAiy 阅读全文

posted @ 2013-05-16 21:59 kuangbin 阅读(2630) 评论(0) 推荐(0) 编辑

导航

JAVASCRIPT: