前言 我们前面使用的是自己编写的ts,以及自己手动引入的jquery,由于第三方库采用的是直接引入js,没有d.ts声明文件,开发起来很累,所以一般情况下我们使用npm引入第三方的库,本文记录使用npm,typescript开发threejs3D项目,搭建基础实例,为以后开发具体业务做准备 项目结构 ...
分类:
Web程序 时间:
2019-09-04 19:23:11
阅读次数:
2168
1 #define _for(i,a,b) for(int i = (a);i < b;i ++) 2 #define _rep(i,a,b) for(int i = (a);i > b;i --) 3 4 class Solution 5 { 6 public: 7 int dietPlanPer... ...
分类:
其他好文 时间:
2019-09-01 15:05:54
阅读次数:
179
Description: 5174. Diet Plan Performance My SubmissionsBack to Contest 5174. Diet Plan Performance My SubmissionsBack to Contest My SubmissionsBack to ...
分类:
其他好文 时间:
2019-09-01 13:05:29
阅读次数:
119
原题链接在这里:https://leetcode.com/problems/number-of-corner-rectangles/ 题目: Given a grid where each entry is only 0 or 1, find the number of corner rectang ...
分类:
其他好文 时间:
2019-08-31 13:02:27
阅读次数:
97
平面倒锥天线 带宽高的吓人 http://cdn.intechweb.org/pdfs/13369.pdf ...
分类:
其他好文 时间:
2019-08-30 21:11:03
阅读次数:
105
【1】mycat的前世今生: 如果我有一个32核心的服务器,我就可以实现1个亿的数据分片,我有32核心的服务器么?没有,所以我至今无法实现1个亿的数据分片。——Mycat’s Plan 1.0 如果我们有10台物理机,我们就可以实现1000亿的数据分片,我们有10台物理机么?没有,所以,Mycat至 ...
分类:
其他好文 时间:
2019-08-29 15:34:44
阅读次数:
104
Description: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of th ...
分类:
其他好文 时间:
2019-08-28 18:23:42
阅读次数:
89
在系统集成项目管理工程师的考试中,计算题是下午的一道大题,其中经常涉及挣值计算。很多同学对于挣值计算并不理解,只是通过死记硬背公式来计算。虽然挣值计算只是简单的四则运算,但是,如果不能真正理解挣值,往往不能举一反三,则考试的时候如果题目稍微“绕弯”,就可能做不出来。那么挣值到底是什么意思呢?已完成工作量的预算成本,这听起来有点不好理解,既然已经完成了,为什么还叫预算成本呢?
分类:
其他好文 时间:
2019-08-28 09:14:24
阅读次数:
235
Endoscopy video anaylsis A image enhancement/frame restoration (1)artifact detection classical such as: blur specularity,saturation (2) image restorat ...
分类:
其他好文 时间:
2019-08-28 01:01:00
阅读次数:
72
题意 https://codeforces.com/problemset/problem/526/G 思考 先考虑只有一次询问。如果我们选择了k条路径,那么就会有2k个叶子节点;反过来,如果选择了2k个叶子节点,总存在一种方案使得组成的k条路径形成一个联通块。因为若还没有连通块,总可以交换两条不交叉 ...
分类:
其他好文 时间:
2019-08-27 10:58:36
阅读次数:
91