DESCRIPTION There are nn buildings lined up, and the height of the ii-th house is hihi. An inteval [l,r][l,r](l≤r)(l≤r) is harmonious if and only if m ...
分类:
其他好文 时间:
2017-07-30 13:50:54
阅读次数:
162
Description It's milking time at Farmer John's farm, but the cows have all run away! Farmer John needs to round them all up, and needs your help in th ...
分类:
其他好文 时间:
2017-07-30 11:33:22
阅读次数:
160
例子 void Update () { this.transform.Rotate(Vector3.up, Time.deltaTime * 50, Space.World); //绕世界的y轴旋转,1秒钟转50度,Space.World是让它绕世界坐标系的y轴旋转,没写的话会绕它自己坐标系的y轴旋 ...
分类:
编程语言 时间:
2017-07-30 11:30:20
阅读次数:
370
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice? For example,Given sorted array nums = [1,1,1,2,2,3], Your function sho ...
分类:
其他好文 时间:
2017-07-30 10:25:11
阅读次数:
196
问题描写叙述: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the give ...
分类:
其他好文 时间:
2017-07-29 23:16:51
阅读次数:
158
112. Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals th ...
分类:
其他好文 时间:
2017-07-29 11:32:35
阅读次数:
115
最近处理一个问题,发现有的网口up不起来。 ethtool eth6 Settings for eth6: Supported ports: [ FIBRE ] Supported link modes: 10000baseT/Full Supports auto-negotiation: No A ...
分类:
其他好文 时间:
2017-07-29 11:29:09
阅读次数:
1631
Language: Default Wedding Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9004 Accepted: 2722 Special Judge Description Up to thirty couple ...
分类:
其他好文 时间:
2017-07-27 11:30:33
阅读次数:
139
题目描述: The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie c ...
分类:
其他好文 时间:
2017-07-26 22:04:00
阅读次数:
211
Alex doesn't like boredom. That's why whenever he gets bored, he comes up with games. One long winter evening he came up with a game and decided to pl ...
分类:
其他好文 时间:
2017-07-26 19:25:23
阅读次数:
148