码迷,mamicode.com
首页 >  
搜索关键字:letter    ( 1667个结果
[leetcode]791. Custom Sort String自定义排序字符串
S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per ...
分类:编程语言   时间:2018-10-24 10:43:35    阅读次数:223
谜题19:漂亮的火花
下面的程序用一个方法对字符进行了分类。这个程序会打印出什么呢? 如果你猜想该程序将打印LETTER UNKNOWN NUMERAL,那么你就掉进陷阱里面了。这个程序连编译都通不过。让我们再看一看相关的部分,这一次我们用粗体字突出注释部分: 正如你之所见,注释在包含了字符*/的字符串内部就结束了,结果 ...
分类:其他好文   时间:2018-10-24 01:18:32    阅读次数:187
修复 Windows 10 启动
笔者欲将原机的硬盘更换为更大容量的SSD。由于新旧硬盘的型号规格不一致,GHOST之后发现硬盘上的Windows10不能启动。下面简单记录修复过程。一、准备Windows10PE启动盘二、修复Windows启动配置
分类:Windows程序   时间:2018-10-23 12:08:52    阅读次数:346
784. Letter Case Permutation
Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible stri ...
分类:其他好文   时间:2018-10-23 12:02:54    阅读次数:155
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-10-22 14:53:15    阅读次数:137
[LeetCode] 763. 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-10-20 23:53:47    阅读次数:288
CSS进阶(二十):first-letter :first-line
:first-letter 生效的前提 (1)display必须是block、inline-block、list-item、tablecell 或者 table-caption (2)字符前面不能有图片或者 inline-block/inline-table 之类的元素 存在 (3)能够被选中的元素 ...
分类:Web程序   时间:2018-10-20 21:08:12    阅读次数:227
CSS进阶(十九)文本控制
text-indent 应用 (1)使用 text-indent 负值隐藏文本内容,例如网站标头 (2)使用text-indent的百分比值来实现宽度已知的内联子元素居中 letter-spacing 应用 (1)清除 inline-block 列表由于换行符或者空格产生的空白间隙,使我们的布局控制 ...
分类:Web程序   时间:2018-10-20 20:20:36    阅读次数:139
题解:CERC2015 ASCII Addition
庆祝通过noip2018初赛,系列五题EP5. 题目描述: 题意翻译 题目背景 现在,如果你只是用手机的相机对着它们,智能手机应用可以即时翻译文本,甚至解决数学问题。您的工作是实现一个更简单的功能,回忆过去——添加两个作为ASCII艺术的整数。 题目描述 ASCII艺术是一个字符矩阵,正好是7行高, ...
分类:其他好文   时间:2018-10-20 19:50:14    阅读次数:189
LeetCode 电话号码的字母组合
题目 (https://leetcode cn.com/problems/letter combinations of a phone number/) 问题分析 刚拿到这道题的时候没什么思路,只能顺着逻辑想。每个数字对应着三个或者四个字母,也就是说每个位置我们会有三个或者四个选择。那么似乎我们可以 ...
分类:其他好文   时间:2018-10-20 00:53:33    阅读次数:237
1667条   上一页 1 ... 39 40 41 42 43 ... 167 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!