码迷,mamicode.com
首页 >  
搜索关键字:integer to roman    ( 15811个结果
ghost网络同传系统
首先.我们做好一张母盘.并将操作系统目录里的TEMP目录里的东西,以及临时文件夹全部清空.之后将母盘系统备份到另外一块硬盘上. 首先确认备份的系统有一个比较大的分区.并确认能装下你的硬盘备份. 将准备好的另外一块硬盘挂在你做好的机器上.之后重新启动到DOS模式,启动GHOST. 选择LOCAL→DI ...
分类:其他好文   时间:2020-02-09 09:59:33    阅读次数:671
Flip Game / POJ 1753
Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other o ...
分类:其他好文   时间:2020-02-08 22:02:58    阅读次数:86
【leetcode】1340. Jump Game V
题目如下: Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d. ...
分类:其他好文   时间:2020-02-08 16:04:58    阅读次数:64
Python三引号
Python三引号:多用作注释、数据库语句、编写 HTML 文本。 strs = ''' 使用了三引号的字符串 ''' print (strs) # 在 ‘’‘ 里可以使用转义字符 strs = '''开始 使用反斜杠 \\ 单引号 \' 双引号 \" 换行 \n 水平制表符 \t 结束。 ''' ...
分类:编程语言   时间:2020-02-08 15:28:32    阅读次数:73
子字符串模板 (双指针, 滑动窗口)
对于大多数子字符串问题,我们给了一个字符串,需要找到一个满足某些限制的子字符串。通常的方法是使用带有两个指针的哈希表。模板如下。 需要提到的一件事是,当要求找到最大子串时,我们应该在内部while循环之后更新最大值,以确保子串有效。另一方面,当要求找到最小子串时,我们应该在内部while循环内更?? ...
分类:其他好文   时间:2020-02-08 13:38:22    阅读次数:71
Valid Palindrome III
Given a string s and an integer k, find out if the given string is a K-Palindrome or not. A string is K-Palindrome if it can be transformed into a pal ...
分类:其他好文   时间:2020-02-08 10:14:38    阅读次数:74
DataGridView复制到Excel格式
Clipboard.Clear() ' 清除剪贴板 If DataGridView2.Rows.Count > 0 Then Dim a As New List(Of String) For i As Integer = 0 To DataGridView2.Rows.Count - 1 Dim b ...
分类:Windows程序   时间:2020-02-08 00:22:10    阅读次数:82
LeetCode练题——53. Maximum Subarray
1、题目 53. Maximum Subarray——Easy Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum a ...
分类:其他好文   时间:2020-02-07 20:25:50    阅读次数:71
[leetcode]Read N Characters Given Read4 II - Call multiple times
调用多次readN,所以要重复使用internal buffer """ The read4 API is already defined for you. @param buf, a list of characters @return an integer def read4(buf): # B ...
分类:其他好文   时间:2020-02-07 18:42:43    阅读次数:71
[leetcode]Read N Characters Given Read4
先用read4拷贝到buf4,然后从buf4里读: """ The read4 API is already defined for you. @param buf, a list of characters @return an integer def read4(buf): # Below is ...
分类:其他好文   时间:2020-02-07 16:35:00    阅读次数:78
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!