搞了半天这个东西要用 Lucas 定理啊。。。 学好这些姿势你就可以A了。。。 显然: $${0 \choose 1}=0\ \ \ {1 \choose 1}=1\ \ \ {1 \choose 0}=1\ \ \ {0 \choose 0}=1$$ 你一直用这个 Lucas 定理,又因为 mod ...
分类:
其他好文 时间:
2018-06-20 10:21:02
阅读次数:
162
leetcode上的几道题,意思是知道股票的走势,怎么获得买卖最大利润,卖的日子必须在买的日子的后面,每一道题的限制不一样,用到的算法也可能不一样。 121. Best Time to Buy and Sell Stock 题干如下: Say you have an array for which ...
分类:
其他好文 时间:
2018-06-17 18:55:07
阅读次数:
151
一、课程介绍英文原文:C# is the best language for mobile app development.?Anything you can do in Objective-C, Swift or Java, you can do in C#。中文译意:C#是移动应用程序开发的最佳语言。 在Objective-C,Swift或Java中你可以做的任何事情,你都可以在C#
分类:
移动开发 时间:
2018-06-16 21:08:45
阅读次数:
233
一、课程介绍 英文原文:C# is the best language for mobile app development. Anything you can do in Objective-C, Swift or Java, you can do in C#。 中文译意:C#是移动应用程序开发的 ...
分类:
移动开发 时间:
2018-06-16 20:33:05
阅读次数:
264
前言: 作为战斗民族的发明,Nginx在服务器网络处理方面因其稳定,高效,简洁的配置,出色的表现而被广泛使用 Docs written in English are the best material of mastering a specific technology. (ref: https:/ ...
分类:
其他好文 时间:
2018-06-16 19:34:46
阅读次数:
206
from:http://zybler.blogspot.com/2009_08_01_archive.html Table of results for Caltech 101 dataset This is a table documenting some of the best results ...
分类:
其他好文 时间:
2018-06-15 17:49:25
阅读次数:
175
题目描述 FJ is about to take his N (1 ≤ N ≤ 30,000) cows to the annual"Farmer of the Year" competition. In this contest every farmer arranges his cows in ...
分类:
其他好文 时间:
2018-06-12 18:34:04
阅读次数:
157
1 #根据给定的应聘者列表,得出最好的应聘者 2 def hire_assistant(assList): 3 n = len(assList) 4 best = 0 5 index = 0 6 for i in range(n): 7 value = assList[i].score 8 if v ...
分类:
其他好文 时间:
2018-06-11 22:14:58
阅读次数:
166
# 建议直接使用的第三方类 Common Lang =》StringUtils =》Validate Guava =》Cache =》Ordering JDK7(LTS JDK8 JDK11...) =》Arrays =》Collections ……………………………………………………………………… ...
1、使用示例 2、树模型参数:【很多参数都是用来限制树过于庞大,即担心其过拟合】 # 1.criterion gini or entropy:用什么作为衡量标准 ( 熵值或者Gini系数 )。 # 2.splitter best or random 前者是在所有特征中找最好的切分点 后者是在部分特征 ...
分类:
其他好文 时间:
2018-06-10 15:07:28
阅读次数:
310