Coins
Problem Description:
Duoxida buys a bottle of MaiDong from a vending machine and the machine give her n coins back. She places them in a line randomly showing head face or tail face on. And Duoxida wants to know how many situations that m continuou...
分类:
其他好文 时间:
2015-08-06 00:30:16
阅读次数:
141
Square Coins
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 9761 Accepted Submission(s): 6692
Problem Description
People in Sil...
分类:
其他好文 时间:
2015-08-03 21:02:00
阅读次数:
128
题目如下:
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payment...
分类:
其他好文 时间:
2015-08-03 14:32:21
阅读次数:
262
Description
Alice and Bob decide to play a funny game. At the beginning of the game they pick n(1 <= n <= 10
6) coins in a circle, as Figure 1 shows. A move consists in removing one or two adjacen...
分类:
其他好文 时间:
2015-07-31 18:33:26
阅读次数:
118
Gold Coins
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 21868
Accepted: 13696
Description
The king pays his loyal knight in gold coins. On the first day o...
分类:
其他好文 时间:
2015-07-28 16:00:56
阅读次数:
94
Square Coins点我Problem DescriptionPeople in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coi...
分类:
其他好文 时间:
2015-07-28 12:57:48
阅读次数:
100
题意:对于一个n,用不超过289的平方数组成,有几种组成方式;思路:母函数。构造(1+x^i+x^2i+...)...形式的多项式,所求n作为多项式展开中的次数,所求结果为该项的系数;#include#include#includeusing namespace std;int t,n,m;int ...
分类:
其他好文 时间:
2015-07-25 07:05:27
阅读次数:
115
Coin Change
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu
Submit Status Practice UVA 674
Appoint description:Description
Download as PDFSuppose there are 5 types of coins:...
分类:
其他好文 时间:
2015-07-21 12:55:39
阅读次数:
85
Let p(n) represent the number of different ways in which n coins can be separated into piles. For example, five coins can be separated into piles in exactly seven
different ways, so p(5)=7.
...
分类:
其他好文 时间:
2015-07-19 16:35:22
阅读次数:
181
题目如下:
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payme...
分类:
其他好文 时间:
2015-07-18 12:41:59
阅读次数:
124