有N个点(N=0那么这个点为定义为good。现在给这N个点间连上N 1条边,使它们构成一个生成树,定义树中的点为great点当且仅当这个点本身是good点且与其相邻的点中至少有另一个good点。树的价值等于树中所有great点的价值和。定义限制价值树是指价值不大于maxVal的树,问对给定的val[ ...
分类:
其他好文 时间:
2019-05-18 15:32:32
阅读次数:
95
1.Hold on.等一等。(电话用语) 2. I’m home.我回来了。 3. Good luck! 祝你好运! 4.Not bad.还不错。 5. Shut up! 闭嘴! 6. Watch out! 当心。 7.Never mind.不要紧。 8. Follow me. 跟着我。 9. Le ...
分类:
其他好文 时间:
2019-05-14 16:17:33
阅读次数:
696
问题:The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we rec ...
分类:
其他好文 时间:
2019-05-13 09:12:55
阅读次数:
691
近期做了个JAVA工程师分类, JAVA工程师可能是市场上最多类的程序员: 初级JAVA工程师的基本要求Good basic programming skills 良好基本编程技能Foundational Java knowledge JAVA基础知识Object-Oriented Programm... ...
分类:
编程语言 时间:
2019-05-10 23:16:00
阅读次数:
168
Take away from NGCONF talk. It is a good show case to how to use decorator. One take away is that we can use 'symbol' to uqine key. ...
分类:
其他好文 时间:
2019-05-10 20:39:49
阅读次数:
140
Little Sub and Johann 题目描述 Little Sub and Johann are good friends and they often play games together. Recently, they like playing with stones.They hav ...
分类:
其他好文 时间:
2019-05-04 22:31:27
阅读次数:
200
https://vjudge.net/contest/299302#problem/E 题意:给出一个01 0101串,然后能量计算是连续的1就按1, 2, 3的能量加起来。然后给出起始的能量,求最少减掉几个一是起始的能量不被消耗完。 思路:不能用贪心,比如11111,按理说拿一个最好是中间分开,但 ...
分类:
其他好文 时间:
2019-05-04 00:44:06
阅读次数:
156
一、文本操作向文本中追加内容 echo ‘I am a boy’ >> ./test.txt二、权限操作三、用户操作四、定时配置 ...
分类:
系统相关 时间:
2019-04-30 15:28:30
阅读次数:
123
SupportKB Problem Description: When starting Ranger admin, it fails to start up with the following error: [I] Java patch PatchPasswordEncryption_J1000 ...
分类:
移动开发 时间:
2019-04-29 19:26:48
阅读次数:
225
Android device details are being exposed to running applications via Wi-Fi broadcasts in the mobile operating system, Nightwatch Cybersecurity has dis ...
分类:
移动开发 时间:
2019-04-27 09:59:17
阅读次数:
141