wwwn、
wwwn、
全部文章
未归档
codeforces(4)
lca(1)
poj(1)
RMQ(2)
位运算(1)
动态规划(4)
单调栈(1)
博弈论(4)
图论(7)
思维水题(2)
数论(2)
树状数组(1)
模板水题(5)
模板记录(7)
面积几何(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
wwwn、的博客
全部文章
/ 未归档
(共42篇)
hdu 3023 Dirt 优先队列&&bfs&&启发思路
-- Hello, may I speak to Petrov, please? Hello, my darling... You know, there was a little accident at our home... No, no, don't worry, your computer ...
2019-02-06
0
436
hdu 2879 HeHe 欧筛&&积性函数
In the equation X^2≡X(mod N) where x∈[0,N-1], we define He[N] as the number of solutions. And furthermore, define HeHe[N]=He[1]*……*He[N] Now here is...
2019-02-02
0
498
hdu 2873 Bomb Game 博弈论&&二维sg打表
John and Jack, two mathematicians, created a game called “Bomb Game” at spared time. This game is played on an n*m chessboard. A pair of integers (p, ...
2019-02-01
0
390
待完成的训练任务
感觉平时有很多时候进阶题刷到了不会做 然后想着以后有机会一定刷刷基础题 然后时间长了就忘了 要学什么东西了。。。 然后在此记录一下,想写几个 以后想到了再慢慢更新 1.dp 这个万年毒瘤就是不会。。。而且咕咕咕了将近半年了也没怎么开始大力入手 2.线段树 之前入门过。。但是吧时间太长有点忘了...
2019-02-01
0
387
hdu2868 Neighbor Friend floyd&&思维
Suppose we sort N persons in a line according to their heights,we are curious about the Neighbor Friend. A pair of Neighbor Friend is two person next...
2019-02-01
0
401
hdu2860 Regroup 简单并查集&&维护点权值
When ALPC42 got to a panzer brigade, He was asked to build software to help them regroup the battalions or companies. As the tradition of army, soldi...
2019-02-01
0
463
P1337 [JSOI2004]平衡点 / 吊打XXX 随机化搜索&&模拟退火
题目描述 如图:有n个重物,每个重物系在一条足够长的绳子上。每条绳子自上而下穿过桌面上的洞,然后系在一起。图中X处就是公共的绳结。假设绳子是完全弹性的(不会造成能量损失),桌子足够高(因而重物不会垂到地上),且忽略所有的摩擦。 问绳结X最终平衡于何处。 注意:桌面上的洞都比绳结X小得多,所以即...
2019-01-23
0
466
hdu2866 D - Special Prime 数论+打表
Give you a prime number p, if you could find some natural number (0 is not inclusive) n and m, satisfy the following expression: D - Special Pr...
2019-01-22
0
433
hdu2864 Base B 思维&&进制题
“Base B” HDU - 2864 AekdyCoin is so fond of math.He loves Number.He knows how to express a non-negative number into P base.Say,he knows that the n...
2019-01-22
0
487
hdu 2855 Fibonacci Check-up 矩阵快速幂&&模板
Fibonacci Check-up HDU - 2855 Every ALPC has his own alpc-number just like alpc12, alpc55, alpc62 etc. As more and more fresh man join us. How...
2019-01-21
0
534
首页
上一页
1
2
3
4
5
下一页
末页