找规律
Number Sequence
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 303 Accepted Submission(s): 149
Special Judge
Problem D...
分类:
其他好文 时间:
2014-09-15 01:09:18
阅读次数:
147
Problem Description
There are 2 special dices on the table. On each face of the dice, a distinct number was written. Consider a1.a2,a3,a4,a5,a6 to be numbers written on top face, bottom
face, left ...
分类:
其他好文 时间:
2014-09-15 01:08:48
阅读次数:
204
Problem Description
There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules:
● ai ∈ [0,n]
● ai ≠ aj( i ≠ j )
For sequence a and sequence b,...
分类:
其他好文 时间:
2014-09-15 01:06:27
阅读次数:
175
Problem Description
There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules:
● ai ∈ [0,n]
● ai ≠ aj( i ≠ j )
For sequence a and sequence b, t...
分类:
其他好文 时间:
2014-09-14 23:41:28
阅读次数:
262
http://acm.hdu.edu.cn/showproblem.php?pid=5012Problem Description There are 2 special dices on the table. On each face of the dice, a distinct number ...
分类:
其他好文 时间:
2014-09-14 20:35:37
阅读次数:
269
Walk
Time Limit: 30000/15000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 209 Accepted Submission(s): 146
Special Judge
Problem Description
I used t...
分类:
其他好文 时间:
2014-09-14 08:59:26
阅读次数:
216
【B】RotateTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) Special Judge【Problem Description】Noting is more interesting ...
分类:
其他好文 时间:
2014-09-14 00:02:46
阅读次数:
509
每次都去掉一个点求出到达 其他点的概率就是不能到达这个点的概率。
Walk
Time Limit: 30000/15000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 51 Accepted Submission(s): 37
Special Judge
...
分类:
其他好文 时间:
2014-09-13 20:10:35
阅读次数:
322
题目地址:HDU 3395
刷了几道白书和CF上的非算法题,感觉智商越来越接近负数了。。。还是先刷几道简单题缓缓。。
这题很简单,二分图模型,用费用流也可以,用KM也可以。不过需要注意的是这里是最大费用流,并不是最大费用最大流,区别在于是否是最大流,这题可以不是最大流,所以要当费用开始减少的时候停止继续流,来保证费用是最大的。
代码如下:
#include
#include
#incl...
分类:
其他好文 时间:
2014-09-12 19:16:54
阅读次数:
265
Damn CouplesTime Limit:1 Second Memory Limit:32768 KBAs mentioned in the problem "Couples", so many new words appear on the internet. Another special ...
分类:
其他好文 时间:
2014-09-12 18:39:54
阅读次数:
326