Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are n ...
分类:
其他好文 时间:
2017-10-28 22:11:24
阅读次数:
122
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are n ...
分类:
编程语言 时间:
2017-10-26 17:39:00
阅读次数:
205
一、概述 最近邻规则分类(K-Nearest Neighbor)KNN算法 由Cover 和Hart在1968年提出了最初的邻近算法, 这是一个分类(classification)算法 输入基于实例的学习(instance-based learning), 懒惰学习(lazy learning) 二 ...
分类:
编程语言 时间:
2017-10-26 15:36:30
阅读次数:
137
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are n ...
分类:
其他好文 时间:
2017-10-22 23:32:59
阅读次数:
154
一、background-size: 规定背景图像的大小; 值:像素值、百分比、auto、cover、contain 二、HSLA: 新增颜色属性; H:色调 S:饱和度 L:亮度 A:透明度 三、新增渐变颜色: radial-gradient:(*position(deg),color perce ...
分类:
其他好文 时间:
2017-10-22 17:04:45
阅读次数:
196
两者顺序不能反过来,某些系统会有不可预料的错乱 display: -webkit-flex; display: flex; 背景,background-size 必须单独拆出来,理由同上 background: url(../img.jpg) no-repeat center/cover; 负缩进 ...
分类:
其他好文 时间:
2017-10-20 20:05:32
阅读次数:
141
最近做的网站,需要兼容IE8,在这里记录一下,碰到的问题,方便以后查看补充 1.CSS选择器nth-child 不兼容 IE8不兼容 这种写法 在网上百度了一下 兼容写法 戳这里 由于我的是少数静态轮播图的样式,所以采用了 添加类名的这种比较low的方式来解决 2.CSS属性 cover 背景自适应 ...
分类:
其他好文 时间:
2017-10-18 16:42:59
阅读次数:
154
看教程跟着写的贪吃蛇。 看教程跟着写的贪吃蛇。 一、封面 1、封面样式(例) void Cover() { printf("\n\n\n\t\t\t <<SNAKE>>\n\n"); printf("\n\n\n\t\t\t<<W,S,A,D control move>>\n\n"); printf ...
分类:
编程语言 时间:
2017-10-16 16:53:48
阅读次数:
368
假设你有一个固定位置的标题栏,你的iOS10的CSS可能是这样写的: 为了自动调整iPhone X和其他iOS11设备,你可以在meta标签的viewport中添加viewport-fit="cover": 然后通过CSS的constant()修改padding-top的值: 对于不知道如何解决co ...
分类:
移动开发 时间:
2017-10-12 13:58:46
阅读次数:
285
统计nginx访问日志,access.log形式:1xx.xx.xxx.xxx--[09/Oct/2017:10:48:21+0800]"GET/p_w_picpaths/yyy/2044/974435412336/Cover/9787503434r.jpgHTTP/1.1"3040"http://www.xxx.net/""Mozilla/5.0(WindowsNT6.1;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/xx.0.x..
分类:
编程语言 时间:
2017-10-11 00:39:39
阅读次数:
121