Description 傲娇少女幽香是一个很萌很萌的妹子,而且她非常非常地有爱心,很喜欢为幻想乡的人们做一些自己力所能及的事情来帮助他们。 这不,幻想乡突然发生了地震,所有的道路都崩塌了。现在的首要任务是尽快让幻想乡的交通体系重新建立起来。幻想乡一共有n个地方,那么最快的方法当然是修复n-1条道路将 ...
分类:
其他好文 时间:
2017-03-23 21:13:42
阅读次数:
148
Skip to content FeaturesExplorePricing This repository</form> Sign in or Sign up FeaturesExplorePricing This repository</form> Sign in or Sign up Feat ...
分类:
Web程序 时间:
2017-03-23 20:36:59
阅读次数:
230
1092. To Buy or Not to Buy (20) Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There ...
分类:
其他好文 时间:
2017-03-23 20:11:26
阅读次数:
119
概述ClassLoader的双亲委托模式:classloader 按级别分为三个级别:最上级 : bootstrap classLoader(根类加载器) ; 中间级:extension classL...
分类:
移动开发 时间:
2017-03-23 19:16:31
阅读次数:
338
来自http://www.jb51.net/article/60734.htm/**//** * 检查输入的一串字符是否是字符 * 输入:str 字符串 * 返回:true 或 flase; true表示为全部为字符 不包含汉字 */function checkStr(str){ if (/[^\\ ...
分类:
Web程序 时间:
2017-03-23 16:44:08
阅读次数:
195
题意: 要求对一个n*m的网格染色,使得任意一个n*n大小的矩形内恰好有K个格子被染色。 解法: 减弱版的color,可以注意到只要确定了前n列,则后面的列是一个循环。 这样$f(i,j)$表示前i列,染了j个格子对应的给n*m的方格按列循环染色的方案数。 $f(i,j) = \sum_{k \le ...
分类:
其他好文 时间:
2017-03-23 14:27:59
阅读次数:
194
1 #include 2 #include 3 typedef struct student *Liststu; 4 struct student { 5 int age; 6 Liststu next; 7 }; 8 Liststu inset(Liststu stu, int age); 9 v... ...
分类:
其他好文 时间:
2017-03-23 13:52:33
阅读次数:
144
题目http://noi.openjudge.cn/ch0113/49/ 给定两个正整数a(a>1)和b。可以知道一定存在整数x,使得 x <= logab < x + 1 或者 ax<= b < ax+1 请计算x。 乍一看,估计要用高精度求解。仔细看看,数据范围竟然在double范围内,可以直接 ...
分类:
其他好文 时间:
2017-03-23 11:29:53
阅读次数:
173
智能社学习笔记 解析: setCookie()中: 参数1:名称;参数2:内容;参数3:有效期。 var oDate = new Date();//获得日期毫秒数 oDate.setDate(oDate.getDate()+iDay);//设置延期日 document.cookie = name+' ...
分类:
Web程序 时间:
2017-03-23 11:29:36
阅读次数:
148