There are nn students at your university. The programming skill of the ii-th student is aiai. As a coach, you want to divide them into teams to prepar ...
分类:
其他好文 时间:
2019-11-06 12:54:44
阅读次数:
85
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:
其他好文 时间:
2019-11-06 11:40:01
阅读次数:
98
__ "Educational Codeforces Round 73 (Rated for Div. 2)" __ __ "A. 2048 Game" __ __思路:水题 __ AC代码 ...
分类:
其他好文 时间:
2019-11-05 21:49:40
阅读次数:
105
在旋转有序数组中搜索二。这题跟[LeetCode] 33. Search in Rotated Sorted Array求的一样,多一个条件是input里面有重复数字。依然是用二分法做,但是worst case很可能会到O(n);而且其中还会多一个case的判断,就是nums[mid]和nums[s ...
分类:
其他好文 时间:
2019-11-05 01:18:45
阅读次数:
85
82. Remove Duplicates from Sorted List II 跳过重复节点,返回head。 class Solution { public ListNode deleteDuplicates(ListNode head) { if(head == null || head.ne ...
分类:
其他好文 时间:
2019-11-04 17:09:45
阅读次数:
79
题目链接: "luogu" 题目分析: 把每个人当成一个三元组$[l_i, r_i, v_i]$ 考虑每个人对哪个能力区间$[L, R]$有贡献 应该是左端点在$[l_i, v_i]$,右端点在$[v_i, r_i]$的区间 拍到一个二维平面上,求最多有多少个矩形交一起 线段树维护扫描线即可 代码: ...
分类:
其他好文 时间:
2019-11-04 15:44:34
阅读次数:
109
一. 问题描述 给定一个整数 n,生成所有由 1 ... n 为节点所组成的二叉搜索树。 示例: 输入: 3 输出: [ [1,null,3,2], [3,2,null,1], [3,1,null,null,2], [2,1,3], [1,null,2,null,3] ] 解释: 以上的输出对应以下 ...
分类:
其他好文 时间:
2019-11-04 15:11:10
阅读次数:
61
Automotive Digital Diagnostic Tools Porsche Piwis Tester II is the latest inspect equipment of Porsche Company. This is the latest professional tester ...
分类:
其他好文 时间:
2019-11-04 13:55:32
阅读次数:
93
Automotive Digital Diagnostic Tools Porsche Piwis Tester II is the latest inspect equipment of Porsche Company. This is the latest professional tester ...
分类:
其他好文 时间:
2019-11-04 13:31:24
阅读次数:
79
原文链接 细分曲面介绍 在三维建模领域里,细分曲面算是一个比较常见的术语了,经常用于动画角色的原型设计,甚至在工业设计领域,也开始流行用细分建模来进行原型设计。教科书里一讲到细分曲面,必然提一下《Geri's Game》,这部动画片里人物造型应用的就是细分曲面技术。 那么究竟什么是细分曲面呢?小时候 ...
分类:
其他好文 时间:
2019-11-04 09:36:01
阅读次数:
100