https://leetcode.com/problems/combination-sum-iv/#/description Given an integer array with all positive numbers and no duplicates, find the number of ...
分类:
其他好文 时间:
2017-07-12 15:16:49
阅读次数:
113
Description Lost and AekdyCoin are friends. They always play "number game"(A boring game based on number theory) together. We all know that AekdyCoin ...
分类:
其他好文 时间:
2017-07-11 21:08:48
阅读次数:
244
Game theory初步 游戏1l 有两个游戏者:A和B。l 有21颗石子。l 两人轮流取走石子,每次可取1、2或3颗。l A先取。l 取走最后一颗石子的人获胜,即没有石子可取的人算输。如果剩下1、2或3颗石子,那么接下来取的人就能获胜;如果剩下4颗,那么无论接下来的人怎么取,都会出现前面这种情况 ...
分类:
其他好文 时间:
2017-07-11 11:10:41
阅读次数:
181
2982: combination Description LMZ有n个不同的基友,他每天晚上要选m个进行[河蟹],而且要求每天晚上的选择都不一样。那么LMZ能够持续多少个这样的夜晚呢?当然,LMZ的一年有10007天,所以他想知道答案mod 10007的值。(1<=m<=n<=200,000,00 ...
分类:
其他好文 时间:
2017-07-08 00:28:00
阅读次数:
185
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 ...
分类:
其他好文 时间:
2017-07-04 14:54:15
阅读次数:
158
Have you ever known the theory of chocie? There are a bunch of axiems, but there are only two thing we really need to concern with. One, the only pers ...
分类:
其他好文 时间:
2017-07-04 11:19:51
阅读次数:
118
Combination Sum Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. ...
分类:
其他好文 时间:
2017-07-03 17:27:38
阅读次数:
157
前言 常用的几何变换中旋转是较为复杂的一种,最近看《Physically Based Rendering, Second Edition: From Theory To Implementation》一书涉及绕任意轴旋转的实现,也给出了大体思路,但具体的推导过程及最后的旋转矩阵并未直接地给出,故根据 ...
分类:
其他好文 时间:
2017-07-02 14:21:56
阅读次数:
208
JavaScript数据类型,对象,构造函数,原型对象,初识原型链,对象继承 一.单词部分 ①object父类②constructor构造函数③instance实例④call调用 ⑤apply应用⑥combination组合⑦inheritance继承 二.预习部分 1.简述创建对象的两种方法,以及 ...
分类:
编程语言 时间:
2017-06-30 15:28:30
阅读次数:
202
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3104 Problem Description A combination lock consists of a circular dial, which can be turned (clockwise ...
分类:
其他好文 时间:
2017-06-29 12:46:43
阅读次数:
144