Repository Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 5761 Accepted Submission(s): 1911 Prob ...
分类:
其他好文 时间:
2017-09-03 14:54:02
阅读次数:
206
给你一堆字符串,然后再给你几个查询,前面那些字符串中有多少个包含了这个串。所以可以把开始inset()的字符遍历一遍,同时可能出现该字符串在某个字符串中有多次出现,所以还要用flag标记,来区分不同的串。#include#include#includestruct trie{ int flag...
分类:
其他好文 时间:
2015-08-12 16:35:22
阅读次数:
115
When you go shopping, you can search in repository for avalible merchandises by the computers and internet. First you give the search system a name about something, then the system responds with the results. Now you are given a lot merchandise names in rep...
分类:
其他好文 时间:
2015-02-03 15:04:50
阅读次数:
141