STL
SevenMIT
这个作者很懒,什么都没留下…
展开
-
NYOJ - 查找字符串
查找字符串时间限制:1000 ms | 内存限制:65535 KB难度:3描述 小明得到了一张写有奇怪字符串的纸,他想知道一些字符串出现了多少次,但这些字符串太多了,他想找你帮忙,你能帮他吗?输入字符包括所有小写字母、‘@’、‘+’。输入第一行包含一个整数T(T接下来每组数据第一行包含两个整数n,m(n,m接下来n行,每行包含一个字符串,长度不原创 2013-05-02 16:47:43 · 889 阅读 · 1 评论 -
NYOJ - Same binary weight
Same binary weight时间限制:300 ms | 内存限制:65535 KB难度:3描述The binary weight of a positive integer is the number of 1's in its binary representation.for example,the decmial number 1 has原创 2013-11-04 12:03:50 · 801 阅读 · 0 评论