LeetCode 第 166 场周赛 "1281.subtract the product and sum of digits of an integer" "1282.group the people given the group size they belong to" "1283.find ...
分类:
其他好文 时间:
2019-12-10 13:14:12
阅读次数:
141
原题链接在这里:https://leetcode.com/problems/friends-of-appropriate-ages/ 题目: Some people will make friend requests. The list of their ages is given and ages ...
分类:
移动开发 时间:
2019-12-10 13:01:19
阅读次数:
108
synchronized在java中是一个关键字,但是在kotlin中是一个内联函数。假如分别在java和kotlin代码锁住同一个对象,会发生什么呢,今天写了代码试了试。首先定义people类12345678910111213public class { public void () { for ... ...
分类:
编程语言 时间:
2019-12-10 01:18:59
阅读次数:
314
What exactly is Machine Learning? You must be thinking that wait this doesn’t add up, you were told difficult definitions with heavy technical words. ...
分类:
系统相关 时间:
2019-12-07 17:58:13
阅读次数:
149
There are nn people at the round gaming table. Each of them has a set of cards. Every card contains some number xx. Players make turns consecutively, ...
分类:
其他好文 时间:
2019-12-05 22:43:19
阅读次数:
128
答案参考:https://www.zhihu.com/people/cxyxiaowu/activities time O(n) space O(1): 双指针法,计算的中心思想为: 左右(包括自身)最低的柱子决定能装多少水,装水的体积为 water_i = min { l_max, r_max } ...
分类:
其他好文 时间:
2019-12-05 22:09:18
阅读次数:
121
hell """封装 继承 python2 经典类是按深度优先继承的 Python3 新式类是按广度优先继承的 多态 """ # class People: 经典类 class People(object): # 新式类 def __init__(self, name, age): self.nam ...
分类:
其他好文 时间:
2019-12-01 22:44:09
阅读次数:
110
张宁 Geometric and Physical Constraints for Drone-Based Head Plane Crowd Density Estimation 基于无人机的向下平面人群密度估计的几何和物理约束https://arxiv.org/abs/1803.08805 Wei ...
分类:
其他好文 时间:
2019-12-01 21:10:24
阅读次数:
110
golang 的fmt 包实现了格式化I/O函数,类似于C的 printf 和 scanf。 # 定义示例类型和变量 type Human struct { Name string } var people = Human{Name:"zhangsan"} 普通占位符 占位符 说明 举例 输出 %v ...
分类:
其他好文 时间:
2019-12-01 15:16:13
阅读次数:
105
Zhejiang University is about to celebrate her 122th anniversary in 2019. To prepare for the celebration, the alumni association (校友会) has gathered the ...
分类:
其他好文 时间:
2019-11-28 23:09:50
阅读次数:
128