Gravatar
dateri
积分:1301
提交:587 / 1302
提示:既然没给数据范围,那必然是不要数组的。。

题目 690 导弹系统
2016-09-09 22:42:34
Gravatar
沉迷学习的假的Keller
积分:1625
提交:464 / 692
回复 @NewBee : 300纪念...

题目 500 技能树
2016-09-09 07:35:45
Gravatar
KZNS
积分:2668
提交:581 / 1231
啊。。。写不过。。。

Gravatar
背对疾风吧
积分:217
提交:100 / 273
GG

Gravatar
iortheir
积分:1018
提交:288 / 610
回复 @liu_runda :
这两个题不是多输入一个m就可以过了吗?
代码互通

Gravatar
安呐一条小咸鱼。
积分:1937
提交:751 / 1825
好吧,瞎写的bfs能拿90 - - , 15*15就被卡了...

Gravatar
Sky_miner
积分:2780
提交:902 / 1646
。。。题干中没说如果没有LCA就返回-1啊。。。虽然样例给出了。。

Gravatar
YGOI_真神名曰驴蛋蛋
积分:1982
提交:671 / 1901
神TM BFS树剖 慢的要死

题目 803 [USACO Hol10] 政党
2016-09-08 15:46:33
Gravatar
浮生随想
积分:1912
提交:560 / 1045
2000分纪念!!撒花~~

题目 397 [USACO Oct09] 热浪
2016-09-08 15:25:56
Gravatar
_Itachi
积分:4318
提交:1498 / 3922
醉了。。。
一上来写二分答案+dfs结果超时2个WA1个
索性把二分答案去了,结果就A了。。。
谁能告诉我为什么?明明剪枝一样多(而且二分答案剪枝减得更多一点点),为什么??!!

题目 10 信号无错传输
2016-09-08 15:21:23
Gravatar
派特三石
积分:1897
提交:585 / 1270
汪汀骗我

Gravatar
牧殇
积分:996
提交:308 / 734
1A,好激动~~~

Gravatar
Hzoi_chairman
积分:2407
提交:931 / 2223
2,3,4没数据啊

Gravatar
Fmuckss
积分:1317
提交:273 / 511
看错了n的范围想用线段树优化,写maxn的时候才发现是1e3 - -

Gravatar
LOSER
积分:1570
提交:567 / 1832

Gravatar
FoolMike
积分:5195
提交:1168 / 2244
十进制快速幂是可以AC的,虽然慢成狗QAQ

Gravatar
Magic_Sheep
积分:2277
提交:647 / 1317
身败名裂,没好好读题...............

Gravatar
Magic_Sheep
积分:2277
提交:647 / 1317
身败名裂

Gravatar
zjsdut
积分:10
提交:3 / 14
在BZOJ上RE, 在本OJ AC. 两个OJ的数据应该不一样吧??

Gravatar
沉迷学习的假的Keller
积分:1625
提交:464 / 692
VIP a.find(z.top())==string::npos 这个好厉害..学到了...
string::find
Searches the string for the first occurrence of the sequence specified by its arguments.
When pos is specified, the search only includes characters at or after position pos, ignoring any possible occurrences that include characters before pos.
Notice that unlike member find_first_of, whenever more than one character is being searched for, it is not enough that just one of these characters match, but the entire sequence must match.

题目 173 词链
2016-09-08 08:31:52