
字符串
Kirito_Acmer
这个作者很懒,什么都没留下…
展开
-
Educational Codeforces Round 9 C. The Smallest String Concatenation(字符串排序)
You're given a list of n strings a1, a2, ..., an. You'd like to concatenate them together in some order such that the resulting string would be lexicographically smallest. Given the list of strin原创 2016-03-02 13:34:07 · 634 阅读 · 0 评论 -
zjnu1730 PIRAMIDA(字符串,模拟)
Description Sample Input 6 JANJETINA 5 1 J 1 A 6 N 6 I 5 E Sample Output 1 0 2 1 1 题意:给你一个长度小于等于10^6的字符串,然后每次让它循环铺盖,构成层数为n的塔,让你求得第i层塔中某个字符的个数。 思路:首先要注意到字符串是从左到右覆盖该行和从右到做覆盖该行不影响结果,原创 2016-03-14 21:48:37 · 561 阅读 · 0 评论 -
zjnuSAVEZ (字符串hash)
Description There are eight planets and one planetoid in the Solar system. It is not a well known fact that there is a secret planet S4 inhabited by small creatures similar to bears, their codena原创 2016-03-06 21:50:26 · 532 阅读 · 0 评论