码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
Romaji (CodeForces - 1008A )
Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are "a", "o", "u", "i", and "e". ...
分类:其他好文   时间:2018-10-01 17:11:16    阅读次数:200
830. Positions of Large Groups@python
In a string S of lowercase letters, these letters form consecutive groups of the same character. For example, a string like S = "abbxxxxzyy" has the g ...
分类:编程语言   时间:2018-09-30 12:54:23    阅读次数:247
[LeetCode&Python] Problem 806. Number of Lines To Write String
We are to write the letters of a given string S, from left to right into lines. Each line has maximum width 100 units, and if writing a letter would c ...
分类:编程语言   时间:2018-09-27 12:03:36    阅读次数:157
CodeForces - 1016B
You are given two strings ss and tt, both consisting only of lowercase Latin letters. The substring s[l..r]s[l..r] is the string which is obtained by ...
分类:其他好文   时间:2018-09-24 11:23:55    阅读次数:202
LeetCode - Partition Labels
A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one p... ...
分类:其他好文   时间:2018-09-23 11:33:42    阅读次数:165
79. Word Search
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac ...
分类:其他好文   时间:2018-09-22 22:24:31    阅读次数:172
Atcoder arc059_b
" 题目链接 " 题目描述 给定字符串S,求出S的一个子集,使得其中某一的字母的数量大于该子集字母数量的一半 若存在输出该子集的头和尾的坐标,若不存在则输出两个 $ 1 $ 数据范围: $ 2≦|S|≦10^5 $ $ S $ consists of lowercase letters. 思路 1. ...
分类:其他好文   时间:2018-09-17 19:30:27    阅读次数:169
[2018 ACM-ICPC 焦作赛区网络赛] H - String and Times(后缀自动机)
Now you have a string consists of uppercase letters, two integers AA and BB. We call a substring wonderful substring when the times it appears in that ...
分类:其他好文   时间:2018-09-16 15:59:07    阅读次数:366
leetcode621 - Task Scheduler - medium
Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks.Tasks could ...
分类:其他好文   时间:2018-09-16 12:30:50    阅读次数:236
ACM-ICPC 2018 焦作赛区网络预赛 H题 String and Times(SAM)
Now you have a string consists of uppercase letters, two integers AA and BB. We call a substring wonderful substring when the times it appears in that ...
分类:其他好文   时间:2018-09-15 20:09:10    阅读次数:251
1345条   上一页 1 ... 24 25 26 27 28 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!