音效免费下载 https://taira komori.jpn.org/freesoundcn.html 音效不论在视频还是音频节目中 都是极其关键的一环 恰当的音效,会让节目提高一个档次 MyFreeMP3 http://mctool.cn/music/ 一个免费听、下、解歌的在线网站 内置多个音 ...
分类:
Web程序 时间:
2019-11-20 19:30:07
阅读次数:
93
线上linux服务器排查问题时,一般会通过top、free、netstat、df -h等命令排查cpu、内存、网络和磁盘等问题。有的时候我们需要更进一步了解磁盘io的使用情况,那么本文就是重点讲解一下如何查看linux的磁盘io信息的。 一、iostat: 1、基本用法: $iostat -d -k ...
分类:
系统相关 时间:
2019-11-20 12:53:09
阅读次数:
100
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: Input: 1 0 1 0 0 1 0 1 1 1 ...
分类:
其他好文 时间:
2019-11-20 12:37:11
阅读次数:
65
Text文本属性 1、颜色:color Color:red 2、文本缩进 text-indent 属性值:数字+px:text-indent:10px 3、文本修饰 text-decoration 属性值:undecided 下划线 none 默认值没有任何线 overline上划线 4、文本的对齐 ...
分类:
Web程序 时间:
2019-11-19 17:06:13
阅读次数:
86
链接: https://vjudge.net/problem/LightOJ 1005 题意: A rook is a piece used in the game of chess which is played on a board of square grids. A rook can onl ...
分类:
其他好文 时间:
2019-11-19 01:07:10
阅读次数:
88
参考资料: https://blog.csdn.net/baidu_41902768/article/details/80686608 之前的随笔也有说过,matplotlib是python中一个非常常用的用来作图的库,pyplot是其中的一个包,主要是用来作2D图的,涉及的画布,图例,标签等一系列 ...
分类:
其他好文 时间:
2019-11-18 18:48:01
阅读次数:
192
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2019-11-17 12:31:52
阅读次数:
68
1、字符串的数据结构有字段 free标志可用空间,len标志当前总长度(使得获取长度的算法为O(1)),buf指向实际字符串数组。这样只有当追加的字符串长度大于free了,才会进行空间再分配,再分配的原则是: 多分配一倍的、不大于1m的多余空间。这样追加N次长度,最多只会重新分配N次而不是一定分配N ...
分类:
其他好文 时间:
2019-11-16 23:39:21
阅读次数:
81
题目 给定一个非负整数 c ,你要判断是否存在两个整数 a 和 b,使得 a*a + b*b = c。 示例 输入: 5 输出: True 解释: 1 * 1 + 2 * 2 = 5 输入: 3 输出: False 题解 本题利用双指针法进行求解,与两数之和一样思路,其中注意先限定好右指针的范围降低 ...
分类:
其他好文 时间:
2019-11-16 17:24:43
阅读次数:
61
Let us define a magic grid to be a square matrix of integers of size n×nn×n, satisfying the following conditions. All integers from 00 to (n2?1)(n2?1) ...
分类:
其他好文 时间:
2019-11-16 00:27:55
阅读次数:
54