上一页 1 ··· 30 31 32 33 34
摘要: UVA11877 The Coco-Cola Store Once upon a time, there is a special coco-cola store. If you return three empty bottles to the shop, you’ll get a full bo 阅读全文
posted @ 2015-07-17 15:49 江南何采莲 阅读(397) 评论(0) 推荐(0) 编辑
摘要: The Unsolvable Problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description There are many unsolvable 阅读全文
posted @ 2015-07-17 15:29 江南何采莲 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1021: 组合数末尾的零 Description 从m个不同元素中取出n (n ≤ m)个元素的所有组合的个数,叫做从m个不同元素中取出n个元素的组合数。组合数的计算公式如下: C(m, n) = m!/((m - n)!n!) 现在请问,如果将组合数C(m, n)写成二进制数,请问转这个二进制数 阅读全文
posted @ 2015-07-17 11:23 江南何采莲 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Crossing River Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 11814 Accepted: 4476 Description A group of N people wishes to go across a r 阅读全文
posted @ 2015-07-16 21:55 江南何采莲 阅读(620) 评论(0) 推荐(0) 编辑
摘要: Throwing cards away I Given is an ordered deck of n cards numbered 1 to n with card 1 at the top and card n at the bottom. The following operation is& 阅读全文
posted @ 2015-07-16 21:36 江南何采莲 阅读(295) 评论(0) 推荐(0) 编辑
摘要: A Ducci sequence is a sequence of n-tuples of integers. Given an n-tuple of integers (a1, a2, ... , an), the next n-tuple in the sequence is formed by 阅读全文
posted @ 2015-07-16 21:20 江南何采莲 阅读(358) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34