码迷,mamicode.com
首页 >  
搜索关键字:triangle love    ( 2860个结果
java学习:空格的灵活使用
public class iloveyouright{ public static void main(String[] args){ System.out.println("\t*\t\t\t*"); System.out.println("*\t\ti love you\t\t*"); Syst ...
分类:编程语言   时间:2020-03-06 15:34:08    阅读次数:69
杨辉三角(数组)
//杨辉三角(数组) /* * @Description: Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. * Input: 5 * Output: * [ * [1], * ...
分类:编程语言   时间:2020-03-06 15:00:14    阅读次数:78
为什么单选框获取得val为on怎么解决?
获取值的方式: $("input[name='killOrder']:checked").val(); $('input:radio:checked').val(); $("input[type='radio']:checked").val(); $(":radio[checked]").each(... ...
分类:其他好文   时间:2020-03-05 23:39:35    阅读次数:175
LeetCode练题——53. Maximum Subarray
1、题目 Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's ...
分类:其他好文   时间:2020-03-02 01:09:35    阅读次数:82
LeetCode练题——118. Pascal's Triangle
1、题目 Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two nu ...
分类:其他好文   时间:2020-03-01 23:19:06    阅读次数:67
is和do的区别
一、is和do区别 (1)is是系动词 在句子中构成:主系表 I am a teacher. (2)do是助动词 帮助实义动词否定和疑问的动词。 什么是实义动词? (3)实义动词:有实际含义的动词,比如爱,这个词你可以知道对方爱你,能识别出意思的就是实义动词。 I love you. 你就可以得出对 ...
分类:其他好文   时间:2020-03-01 12:51:19    阅读次数:98
05-伪类选择器
伪类选择器一般会用在超链接a标签中,使用a标签的伪类选择器,我们一定要遵循"爱恨准则" LoVe HAte 1 /*没有被访问的a标签的样式*/ 2 .box ul li.item1 a:link{ 3 4 color: #666; 5 } 6 /*访问过后的a标签的样式*/ 7 .box ul l ...
分类:其他好文   时间:2020-02-29 13:05:33    阅读次数:56
leetcode118 Pascal's Triangle
1 """ 2 Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. 3 In Pascal's triangle, each number is the sum of the t ...
分类:其他好文   时间:2020-02-28 01:38:29    阅读次数:74
Shell脚本查询磁盘数量
之前帮朋友写的脚本,运维大数据服务器时候用的。 #!/bin/bash ##磁盘数量 Disk=$( fdisk -l |grep 'Disk' |grep 'sd' |awk -F , '{print "%s",substr($1,13,1)}') var=${Disk: -1:1} echo b... ...
分类:系统相关   时间:2020-02-27 19:17:29    阅读次数:124
格式化
format >>> "{0} love {1}".format('I','python') 'I love python' >>> "{a} love {b}".format(a='I',b='python') 'I love python' 位置参数必须在关键字参数之前 >>> "{0} lov ...
分类:其他好文   时间:2020-02-27 13:31:18    阅读次数:54
2860条   上一页 1 ... 15 16 17 18 19 ... 286 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!