首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
poj3372
】的更多相关文章
poj3372 Candy Distribution
可以证明: f(k) = k *(k - 1)/ 2 (1 ≤ k ≤ n)是n的完全剩余系当且仅当n = 2 ^ t. http://poj.org/problem?id=3372…
poj3372
Candy Distribution Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5868 Accepted: 3274 Description N children standing in circle who are numbered 1 through N clockwise are waiting their candies. Their teacher distributes the candies by…