css line-height 在google和fire 有一像素偏差 display-inline-block 对齐方式有问题 用 vertical-align:middle select option 只有火狐支持 onclick 解决办法 就是迷你select下拉菜单 $(this).find ...
分类:
其他好文 时间:
2020-05-14 22:20:09
阅读次数:
91
题目 A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find ...
分类:
其他好文 时间:
2020-05-14 19:42:49
阅读次数:
68
1,指针: 未初始化的指针通常会使得程序崩溃; 在C ++中,有几种使用其零参数构造函数创建对象的方法。 m = new IntCell( ); // OK m = new IntCell{ }; // C++11 m = new IntCell; // Preferred in this text ...
分类:
编程语言 时间:
2020-05-14 19:01:59
阅读次数:
59
Share Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appe ...
分类:
其他好文 时间:
2020-05-14 11:11:27
阅读次数:
60
两者的常见用法如下: find ~ -name “a.txt” –exec rm –rf {} \; find ~ -name “a.txt” –execdir rm –rf {} \; 注意事项: {} 与\;之间有格。 -exec或-execdir后面的命令执行时,{}会被替换为匹配到的文件。 ...
分类:
其他好文 时间:
2020-05-14 10:56:31
阅读次数:
119
这里总结一下linux的基本命令一、cd/ls/pwd----------------------------------------------------------二、rm/touch/mkdir/mv/cp/三、cat/more/less/head/tail四、witch/whereis/locate/find
分类:
系统相关 时间:
2020-05-14 01:57:56
阅读次数:
86
luogu P3369 主要是贴一个splay的模板: ...
分类:
其他好文 时间:
2020-05-13 23:39:53
阅读次数:
101
(点击图片进入关卡) 巡逻村庄的入口,但需要保持防御状态。 简介 记住 if then else . if 来判断, then 来执行, else 执行其他情况。 else 就像 if ,除了它包含应该在 if 条件为 false 时运行的代码: if enemy: # 以下代码会在敌人出现时运行 ...
分类:
编程语言 时间:
2020-05-13 19:49:48
阅读次数:
68
MySQL中提供了一个find_in_set()函数,用于检索一个字符串在一个字符串集合(以逗号分隔的字符串)中的位置,如果检索到了,则返回该匹配的字符串所在的位置;如果检索不到,则返回0。 find_in_set(str, strlist) 简单例子: select find_in_set('ya ...
分类:
数据库 时间:
2020-05-13 09:25:01
阅读次数:
67
新公司是内网环境,无法使用pip安装第三方资源库,在网上搜下,可以直接使用pip打包本机所安装的第三方资源库,打包成whl文件 一 进入cmd命令行 1 打包单个模块 pip download pytest -d /tmp 2 打包本机所有的包 pip freeze >requirements.tx ...
分类:
编程语言 时间:
2020-05-12 22:02:50
阅读次数:
97