- 浏览: 35692 次
最新评论
文章列表
Best Sequence
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 4156
Accepted: 1645
Description
The twenty-first century is a biology-technology developing century. One of the most attractive and challenging tasks is on the gene project, especially on gene sorting ...
C - Count The Carries
- 博客分类:
- ACM
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 ...
A - Play the Dice
- 博客分类:
- ACM
A - Play the Dice
时间限制:
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 on it. Now here is a game that you can roll this dice once, if the i-th side is ...