Problem 2218 Simple String Problem Accept: 254 Submit: 594Time Limit: 2000 mSec Memory Limit : 32768 KB Accept: 254 Submit: 594Time Limit: 2000 mSec M ...
分类:
其他好文 时间:
2018-05-06 10:31:14
阅读次数:
186
Problem 2216 The Longest Straight Accept: 523 Submit: 1663Time Limit: 1000 mSec Memory Limit : 32768 KB Accept: 523 Submit: 1663Time Limit: 1000 mSec ...
分类:
其他好文 时间:
2018-05-06 10:30:31
阅读次数:
186
题意 给出n个字符串,每个字符串有一个权值wi 有q个操作,操作有两种 1 x y 将字符串x的权值变为y 2 x 查询操作,输出以字符串x为后缀,且权值小于等于wx的字符串个数。其中n<=1000 每个字符串长度<=1000 询问q<=80000。 分析 n并不大,但是q太大了。如果暴力的话,每次 ...
分类:
其他好文 时间:
2018-04-27 02:32:19
阅读次数:
206
题意 有一颗有n个节点的有根树,根节点编号时1,每个结点都有一个值ai,开始的时候,所有节点的值都是0. 我们有q个操作,操作只有两种类型 1 v x k,a[v]+=x,a[v']+=x-k,a[v"]+=x-2*k... v'是结点v的孩子 。 2 v 输出a[v]mod 1e9+7。 分析 d ...
分类:
其他好文 时间:
2018-04-27 02:30:51
阅读次数:
155
Given a set of n items, each with a weight w[i] and a value v[i], determine a way to choose the items into a knapsack so that the total weight is less ...
分类:
其他好文 时间:
2018-04-22 18:11:10
阅读次数:
200
Problem Description You have won a collection of tickets on luxury cruisers. Each ticket can be used only once, but can be used in either direction be ...
分类:
其他好文 时间:
2018-04-21 15:21:09
阅读次数:
127
用来求解一般模线性方程,, X %M1 == A1; X %M2 == A2; X %M3 == A3; 。。。。。 当M1, M2, M3,。。。互质时(关于不互质下面会提到),可以利用中国剩余定理求解。。 其中,而为模的逆元。 http://acm.hdu.edu.cn/showproblem. ...
分类:
其他好文 时间:
2018-04-14 15:25:36
阅读次数:
173
http://acm.fzu.edu.cn/problem.php?pid=2132 题意。。。看不懂的话我也没有办法。。 概率题,, 主要考察acmer是不是挂科。。。。。。。。。(伯努力方程) 只有不断学习才能进步! ...
分类:
其他好文 时间:
2018-04-14 15:21:56
阅读次数:
185
之前阅读资料不是特别明白,看到一个博主的解释,豁然开朗,特此记录。 https://blog.csdn.net/huangzx3/article/details/79347556 DNS区域(ZONE):DNS域名空间中连续的树,将域名空间按照需要划分为若干较小的管理单位。栗子:在baidu中设置一 ...
分类:
其他好文 时间:
2018-04-13 11:06:05
阅读次数:
216
Twilightgod CUST http://blog.csdn.net/twilightgodAekdycoin FZU http://hi.baidu.com/aekdycoinForeverlin HNU http://hi.baidu.com/forverlin1204/blogMatri ...
分类:
其他好文 时间:
2018-04-12 22:18:39
阅读次数:
203