前缀和,维护两个前缀和,观察到如果i为奇数就可以在前面或后面插点 ...
分类:
其他好文 时间:
2019-02-02 13:00:38
阅读次数:
154
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:
其他好文 时间:
2019-02-01 23:27:38
阅读次数:
269
Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked list can be reversed either iterativ ...
分类:
其他好文 时间:
2019-02-01 14:11:00
阅读次数:
184
环境: Ubuntu18 vue+elementUI 实现文件的上传 报错信息: java.io.IOException: java.io.FileNotFoundException: /tmp/tomcat.2457258178644046891.8080/work/Tomcat/localhos ...
分类:
编程语言 时间:
2019-02-01 01:13:03
阅读次数:
1446
Use unify unit test framework CPPUnit 1.12.1/Visual stdio Unit is a class or a function Test per major component Test by developer Set up clean enviro ...
分类:
其他好文 时间:
2019-01-30 14:22:33
阅读次数:
122
Set up by Derek: 2019-1-25 登陆个人物理机: license 60天Free , 如果过期,就在 VMware ESXI 6.5.0的黑屏界面去reset. https://192.168.137.150/ui/#/login root/blank 创建VM Linux: ...
[TOC] 主要包含 CCEnum.js id generater.js js.js CCEnum.js Enum 作用是用来创建一个枚举类型.基本使用: 则 Dir.Up = 0, Dir.Down = 1, Dir.Left = 2, Dir.Right = 3; id generater.js ...
分类:
Web程序 时间:
2019-01-28 10:56:37
阅读次数:
122
Description Windy has a country, and he wants to build an army to protect his country. He has picked up N girls and M boys and wants to collect them t ...
分类:
其他好文 时间:
2019-01-28 01:26:35
阅读次数:
98
系统的/boot分区满了 命令均不起作用,在这里https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition的第二篇解答NOTE: this is only if you can't ...
分类:
系统相关 时间:
2019-01-27 13:01:19
阅读次数:
268
出现原因:因为程序从第一次编译后未更改过,再次编译是不需要的(Target is up to date),所以编译器提示什么都不做 解决办法:如原因所述,现在你可以①修改源代码,即会再次编译②直接运行已编译的程序 ...
分类:
其他好文 时间:
2019-01-27 11:28:42
阅读次数:
1553