
STL
SevenMIT
这个作者很懒,什么都没留下…
展开
-
NYOJ - 查找字符串
查找字符串 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述 小明得到了一张写有奇怪字符串的纸,他想知道一些字符串出现了多少次,但这些字符串太多了,他想找你帮忙,你能帮他吗?输入字符包括所有小写字母、‘@’、‘+’。 输入第一行包含一个整数T(T 接下来每组数据第一行包含两个整数n,m(n,m 接下来n行,每行包含一个字符串,长度不原创 2013-05-02 16:47:43 · 926 阅读 · 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 · 838 阅读 · 0 评论