链接: http://acm.hdu.edu.cn/showproblem.php?pid=1106...
分类:
其他 时间:
2014-09-01 22:44:03
收藏:
0 评论:
0 赞:
0 阅读:
456
Python演绎的精彩故事。利用Python打造美丽框架。第一篇,引子。...
分类:
编程语言 时间:
2014-09-01 22:43:54
收藏:
0 评论:
0 赞:
0 阅读:
484
Python演绎的精彩故事。利用Python打造美丽框架。第二篇,模块代码展示。...
分类:
编程语言 时间:
2014-09-01 22:43:43
收藏:
0 评论:
0 赞:
0 阅读:
363
LeetCode: Scramble StringGiven a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is o...
分类:
其他 时间:
2014-09-01 22:42:34
收藏:
0 评论:
0 赞:
0 阅读:
452
优点:1. pyinstaller 是跨平台的可以用在linux和windows系统上2. 操作非常简单,几个命令就搞定了,这个比py2exe容易用多了缺点:1. 打包后的体积过大,因为要带python.dll库,所以没有办法2. 不能和tkinter 等库,打包成单独一个文件1、下载pyinsta...
分类:
编程语言 时间:
2014-09-01 22:42:23
收藏:
0 评论:
0 赞:
0 阅读:
476
8 种提升ASP.NET Web API性能的方法http://www.cnblogs.com/rr163/p/3945317.htmlASP.NET MVC 使 Controller 的 Action 只接受 Ajax 请求。http://www.cnblogs.com/h82258652/arc...
分类:
Windows开发 时间:
2014-09-01 22:42:13
收藏:
0 评论:
0 赞:
0 阅读:
410
在介绍静态属性之前,我们先来看一个类的设计,有一个Account(银行账户)类,假设它有3个属性:amount(账户金额)、interestRate(利率)和owner(账户名)。在这3个属性中,amount和owner会因人而异,不同的账户这些内容是不同的,而所有账户的interestRate都是...
分类:
编程语言 时间:
2014-09-01 22:42:03
收藏:
0 评论:
0 赞:
0 阅读:
441
JQuery的extend扩展方法: Jquery的扩展方法extend是我们在写插件的过程中常用的方法,该方法有一些重载原型,在此,我们一起去了解了解。一、Jquery的扩展方法原型是: extend(dest,src1,src2,src3...); 它的含义是将src1,src2,src3...
分类:
其他 时间:
2014-09-01 22:41:53
收藏:
0 评论:
0 赞:
0 阅读:
551
RMQ模板题 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int N= 50002; 7 int maxn[N][17],minn[N][17]; 8 int a[N]; 9 int n...
分类:
其他 时间:
2014-09-01 22:41:33
收藏:
0 评论:
0 赞:
0 阅读:
347
//顺序栈是实现,是数据结构课本上的#include using namespace std;typedef int Elmtype;//#define stacksize 100#define SElemType int #define STACK_INIT_SIZE 100#define ...
分类:
其他 时间:
2014-09-01 22:41:23
收藏:
0 评论:
0 赞:
0 阅读:
439
【1】什么是单例模式?【2】单例模式的代码示例:示例代码: 1 #include 2 #include 3 using namespace std; 4 5 class Singleton 6 { 7 private: 8 int i; 9 static Singlet...
分类:
其他 时间:
2014-09-01 22:41:03
收藏:
0 评论:
0 赞:
0 阅读:
354
直接默认hash不会冲突,其实很多现成的字符串hash算法是很优秀的。。。大概率可以水过。。。。然后从两端往中间搞一搞,特殊处理一下中间的情况就好。#include #include #include #include #include #include #include #include #inc...
分类:
其他 时间:
2014-09-01 22:40:53
收藏:
0 评论:
0 赞:
0 阅读:
355
FatMouse' TradeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20968Accepted Submission(s): 6501Pr...
分类:
其他 时间:
2014-09-01 22:40:43
收藏:
0 评论:
0 赞:
0 阅读:
336
1 //数组实现 栈 2 #include 3 using namespace std; 4 5 struct Sqstack{ 6 int data[100]; 7 int * base; 8 int * top; 9 int len ; //当前已经用的长...
分类:
其他 时间:
2014-09-01 22:40:33
收藏:
0 评论:
0 赞:
0 阅读:
372
Photoshop快捷键(带下划线的为最常用的)工具箱(多种工具共用一个快捷键的可同时按Shift加此快捷键选取)矩形、椭圆选框工具 M移动工具 V套索、多边形套索、磁性套索 L裁剪工具 C切片工具、切片选择工具 K喷枪工具 【J】画笔工具、铅笔工具 【B】像皮图章、图案图章 【S】历史画笔工具、艺...
分类:
其他 时间:
2014-09-01 22:40:23
收藏:
0 评论:
0 赞:
0 阅读:
400
此题时限10秒,顿时惊呆,想到一个n^5解法,果断去写。用f[i1][j1][i2][j2]表示从a矩阵的(i1,j1)和b矩阵的(i2,j2)开始哪一行有多少相同的。然后再枚举i1,i2,j1,j2然后判断有几行。 1 #include 2 #include 3 using namespace s...
分类:
Web开发 时间:
2014-09-01 22:39:53
收藏:
0 评论:
0 赞:
0 阅读:
427
【1】什么是迭代器模式?【2】迭代器模式代码示例:代码示例: 1 #include 2 #include 3 using namespace std; 4 5 class Iterator; 6 7 class Aggregate 8 { 9 public:10 virtual It...
分类:
其他 时间:
2014-09-01 22:39:33
收藏:
0 评论:
0 赞:
0 阅读:
353
典型的博弈题目题意: 两个人从1~n中轮流取数,每次取到x时,则x的任意整数幂均不能再被取,最后谁取不了就输。题解: 可以发现,对于该博弈游戏的子游戏是x的1~k次幂,进行上述规则下的博弈。 而子游戏的SG值只与个数有关,与x的值无关。而k最大只有30,故可以打表。 而游戏最终结果即所有子游...
分类:
其他 时间:
2014-09-01 22:39:23
收藏:
0 评论:
0 赞:
0 阅读:
335
CHAGE(1) 用户命令 CHAGE(1)名称 chage - 更改用户密码过期信息大纲 chage [选项] 登录描述 The chage command changes the number of days between password changes and the date of th...
分类:
系统服务 时间:
2014-09-01 22:39:14
收藏:
0 评论:
0 赞:
0 阅读:
449
1.主题结构元素: article section time pubdate属性 nav aside article用法:常用来表示一个独立的结构; section用法:一个东西可能会有几部分,每一个可用一个section组成; article和section的区别:article是secti...
分类:
Web开发 时间:
2014-09-01 22:38:53
收藏:
0 评论:
0 赞:
0 阅读:
448