Difficulty: Easy Problem We have a list of on the plane. Find the closest points to the origin . (Here, the distance between two points on a plane is ...
分类:
其他好文 时间:
2019-01-22 13:13:15
阅读次数:
228
简介11.1Plane的历史11.2Plane的功能11.3Plane的类型11.4Plane的测试用例21.简介在DRM(DirectRenderingManager)中,学习了drmModePageFlip和drmModeSetCrtc的用法。但是这两个接口都只能全屏显示Framebuffer的内容,如何才能在屏幕上只显示framebuffer的一部分内容呢?本篇将介绍DRM另一个重要的刷图接
分类:
其他好文 时间:
2019-01-21 16:06:05
阅读次数:
1344
On a 2D plane, we place stones at some integer coordinate points. Each coordinate point may have at most one stone. Now, a move consists of removing a ...
分类:
其他好文 时间:
2019-01-21 01:13:10
阅读次数:
253
leetcode 题目: Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. Example 1: Example 2: /** * Definitio ...
分类:
其他好文 时间:
2019-01-20 12:06:18
阅读次数:
175
10类RGB图片:airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truck 图片尺寸32x32,50000张训练图片,10000张测试图片 项目源码:https://github.com/tensorflow/model ...
分类:
其他好文 时间:
2019-01-16 19:20:33
阅读次数:
192
传送门: 题意: 给定一个正n边形的点。双方轮流连点成线,要求所画的线不能与之前的线相交。当某个人连成一个回路,这个人就输了。问先手必胜还是后手必胜。 思路: SG函数,因为一条线相当于把图劈成了两半,所以每次用异或运算推过来。 ...
分类:
其他好文 时间:
2019-01-15 20:29:20
阅读次数:
577
第一题: 973. K Closest Points to Origin 973. K Closest Points to Origin We have a list of points on the plane. Find the K closest points to the origin (0 ...
分类:
其他好文 时间:
2019-01-13 13:42:40
阅读次数:
199
We have a list of points on the plane. Find the K closest points to the origin (0, 0). (Here, the distance between two points on a plane is the Euclid ...
分类:
其他好文 时间:
2019-01-13 13:42:33
阅读次数:
247
很多同学看到这个题目,一定会提这样的问题:RSocket是个协议,Envoy是一个 proxy,Istio是service mesh control plane + data plane。 这三种技术怎么能放在一起比较呢? 的确,从技术定位的角度来讲,它们确实是有很大的差距。
分类:
其他好文 时间:
2019-01-11 18:58:22
阅读次数:
204
很多同学看到这个题目,一定会提这样的问题:RSocket是个协议,Envoy是一个 proxy,Istio是service mesh control plane + data plane。 这三种技术怎么能放在一起比较呢? 的确,从技术定位的角度来讲,它们确实是有很大的差距。但是,如果我们用RSoc ...
分类:
其他好文 时间:
2019-01-11 17:20:25
阅读次数:
187