D - Mike and strings Mike has n strings s1,?s2,?...,?sn each consisting of lowercase English letters. In one move he can choose a string si, erase the ...
分类:
其他好文 时间:
2017-05-05 19:27:34
阅读次数:
237
A - Mike and palindrome Mike has a string s consisting of only lowercase English letters. He wants to change exactly one character from the string so ...
分类:
其他好文 时间:
2017-05-05 19:21:12
阅读次数:
185
传送门 Description We have a string of letters 'a' and 'b'. We want to perform some operations on it. On each step we choose one of substrings "ab" in th ...
分类:
其他好文 时间:
2017-05-05 14:24:56
阅读次数:
244
cf劲啊 原题: We have a string of letters 'a' and 'b'. We want to perform some operations on it. On each step we choose one of substrings "ab" in the strin ...
分类:
其他好文 时间:
2017-05-05 09:23:40
阅读次数:
266
DNA Sorting Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 83442 Accepted: 33584 Description One measure of ``unsortedness'' in a sequence ...
分类:
其他好文 时间:
2017-05-04 20:13:04
阅读次数:
219
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the rans ...
分类:
其他好文 时间:
2017-05-03 17:16:47
阅读次数:
145
Given strings. Each string contains only lowercase letters from (both inclusive). The set of strings is said to be GOOD SET if no string is prefix of ...
分类:
其他好文 时间:
2017-05-01 18:58:48
阅读次数:
316
It's spring in Wisconsin and time to move the yearling calves to the yearling pasture and last year's yearlings to the greener pastures of the north 4 ...
分类:
其他好文 时间:
2017-05-01 10:00:35
阅读次数:
266
Over time, Alexey's mail box got littered with too many letters. Some of them are read, while others are unread. Alexey's mail program can either show ...
分类:
其他好文 时间:
2017-04-30 20:34:57
阅读次数:
211
传送门 Description Daniel has a string s, consisting of lowercase English letters and period signs (characters '.'). Let's define the operation of replac ...
分类:
其他好文 时间:
2017-04-30 01:07:36
阅读次数:
290