navigation switch
Home
Contests
Notification
Clarification
Problems
Ranklist
Status
HackStatus
Problem 1003
用字典为什么会一直wrong
liangjidong1
| 2016-05-14 20:14:08
Author
如题
htnhtn
| 2016-05-15 13:46:46
# 11
试一下这组数据
insert abc delete ab insert ab search abc
ysd911119
| 2016-05-15 14:07:02
# 12
前面几位大佬的数据我都测了,都没问题啊,为啥还是wa。我用map字典做的。。。。
songzy12
| 2016-05-15 14:45:22
# 13
一种可能的 WA 情况
同 WA 无数次,最终发现是把 "Yes""No" 误输出成了 "YES" "NO" >_<
Losanto
| 2016-05-15 16:53:29
# 14
Trie过了,delete要delete到上一个有分枝的地方或者上一个单词节点
Losanto
| 2016-05-15 16:55:44
# 15
insert hehe insert hehehe insert he delete hehe search heheh search heh search he search hehe
<<
<
1
2
>>
Title
Content