1、Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wou ...
分类:
其他好文 时间:
2018-08-23 16:52:04
阅读次数:
190
嘟嘟嘟 一看n那么小,那一定是状压dp了(表示从没写过,慌)。 首先dp[i][j](i 是一个二进制数,第x位为1代表选了第x头牛),表示 i 这个状态最后一头牛是第 j 头牛时的方案数。 然后当 j 被选上时,即 if(i & (1 << (j - 1)))时,我们在枚举倒数第二头牛p,也是当他 ...
分类:
其他好文 时间:
2018-08-23 16:51:53
阅读次数:
189
报错如下: bash: git-upload-pack: command not foundfatal: The remote end hung up unexpectedly 原因:原来代码服务器上的git安装路径是/usr/local/git,不是默认路径,根据提示,在git服务器上, 建立链接 ...
分类:
其他好文 时间:
2018-08-23 10:48:47
阅读次数:
6366
上传与下载 支持包在Dial-up Networking Support选项里,没有装可以通过 在使用远程工具上:root用户的命令后标记是#号,而一般用户的话则是$号 一些基础命令 ...
分类:
系统相关 时间:
2018-08-22 18:26:15
阅读次数:
178
题目描述 Alice and Bob are playing a simple game. They line up a row of n identical coins, all with the heads facing down onto the table and the tails upw ...
分类:
其他好文 时间:
2018-08-22 11:06:11
阅读次数:
159
public partial class tableIsWaringfiled : DbMigration { public override void Up() { //设置默认值为true AddColumn("dbo.BizMaterial", "IsWarning", c => c.Bool... ...
分类:
其他好文 时间:
2018-08-22 11:02:55
阅读次数:
581
一、基本概念 1.线程组N:代表一定数量的并发用户,所谓并发就是指同一时刻访问发送请求的用户。线程组就是模拟并发用户访问。 2.Ramp-Up Period(in seconds):建立所有线程的周期,就是告诉jmeter要在多久没启动所有线程,保证在最后一个线程启动时,第一个线程还在运行中,已达到 ...
分类:
其他好文 时间:
2018-08-22 01:11:14
阅读次数:
814
IntroductionThis tutorial will show you how to set up a TLS/SSL certificate from Let’s Encrypt on an Ubuntu 14.04 server running Apache as a web serve... ...
分类:
Web程序 时间:
2018-08-21 19:46:09
阅读次数:
195
HTML: 超文本标记语言(HyperText Mark-up Language ) 1.作用:写网页结构 2.HTML不区分大小写,建议小写 3.文件后缀 .html 或者 .htm 4.html由浏览器解析执行. 由上往下,由左往右 1) HTML标签 标记 : 用于描述功能的符号称为"标签" ...
分类:
Web程序 时间:
2018-08-21 16:32:12
阅读次数:
179
In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic ...
分类:
其他好文 时间:
2018-08-21 10:53:30
阅读次数:
134