Problem Statement
Bob is going to create a graph with N nodes. The graph will be constructed in two steps. First, Bob will take N isolated vertices, label them 1 through N and color each of them us...
分类:
其他好文 时间:
2015-07-26 22:44:29
阅读次数:
261
//给出k
//找x,y,z使得x^z+y^z+x*y*z = k
//x,y,z都为正整数x1问有多少种方法
//当z = 2时,可以看到左边是一个完全平方
//而当z>=3时,可以暴力枚举x,y
//由于k<2^31所以x<2^(31/3)枚举复杂度可以过
#include
#include
#include
#include<cm...
分类:
其他好文 时间:
2015-07-26 22:42:38
阅读次数:
168
这是《Learn Python The Hard Way(笨方法学Python)》第43个练习的译文,我自己在看这篇文章的时候比较困难(原文链接:http://learnpythonthehardway.org/book/ex43.html),网上的中文版这一节貌似有大量的删减,于是我自己就大概翻译...
分类:
其他好文 时间:
2015-07-26 19:05:35
阅读次数:
527
系统属性:huwei@huwei:~$uname-a
Linuxhuwei3.16.0-44-generic#59~14.04.1-UbuntuSMPTueJul715:07:27UTC2015x86_64x86_64x86_64GNU/Linux查看硬盘信息,记得备份好U盘里面的资料,不然会抓狂的!huwei@huwei:~$sudofdisk-l
Disk/dev/sda:500.1GB,500107862016bytes
255heads..
分类:
系统相关 时间:
2015-07-24 18:42:51
阅读次数:
180
I love developing software on my MacBook Air! I got the latest version with the maximum possible specifications (i7, 8GB internal mem, 512GBSSD disk) ...
分类:
系统相关 时间:
2015-07-24 12:31:18
阅读次数:
221
SQLIO 下载地址:SQLIO Disk Subsystem Benchmark Tool
默认目录:C:\Program Files\SQLIO
以命令行运行,进入到安装目录(C:\Program Files\SQLIO)运行 SQLIO 执行测试
#常用参数
o The -k option to specify the I/...
分类:
数据库 时间:
2015-07-23 12:13:10
阅读次数:
149
最近,不少用户抱怨的经销商。正在使用win 7我们的计算机系统上安装软件后,提示权限不够开放系统,无法启动软件。在xp该系统是没有问题的。原因是,我们会选择在默认安装路径系统C-disk。和win 7系统在安装软件时,有些时候没有管理员权限时可能会提示权限不足。或者在安装软件时。用户仅仅是选...
分类:
其他好文 时间:
2015-07-22 22:37:32
阅读次数:
166
配置: ????????Centos 6.6 minimal ????? ? CPU:????E5 - 2620 x 2 ????????Mem:? ?64G? ????????Disk : ? 1T 内核配置如下: [root@server1?~]#?sysctl?-p
net.ip...
分类:
数据库 时间:
2015-07-22 13:24:36
阅读次数:
319
Maxout NetworksResearching for my master thesis I tried to understand the paper by Goodfellow et al. on theMaxout Units. I found it very hard understa...
分类:
Web程序 时间:
2015-07-21 20:29:50
阅读次数:
342
git reset命令用于将当前分支回退到指定的某个版本。
基本用法
git reset [--hard] commitversion
详解
该命令可以看做commit命令的取反操作,既然可以向前提交,当然也可以向后回滚。可以像事务一样回滚一次到上一次的位置,也可以回滚到指定的位置。这个位置由commitversion决定,每commit一次都会产生一个commitve...
分类:
其他好文 时间:
2015-07-21 17:05:30
阅读次数:
104