@ResponseBody@RequestMapping("/person.dragon.cases({id})")publicListgetCasesMessage(@PathVariableStringid,HttpServletRequestrequest)throwsIOException{...
分类:
Web程序 时间:
2015-12-04 18:27:22
阅读次数:
166
http://www.cnblogs.com/iyangyuan/archive/2013/12/12/3471227.html 杨元 Handlebar.jshttp://www.cnblogs.com/fly_dragon/archive/2012/06/02/2532035.html 飞龙天惊...
分类:
其他好文 时间:
2015-11-30 02:15:33
阅读次数:
159
紫书P148,例题6-6Sample Input4 23 410 12 28 128Sample Output1275123255这应该不仅仅是一棵完全二叉树,题目中说保证所有叶子节点的深度都相同,所以这是一颗满二叉树。这里要弄清满二叉树的一些概念和性质,首先,对于一颗满二叉树来说,他每一层的节点数...
分类:
其他好文 时间:
2015-11-27 16:44:21
阅读次数:
174
ballsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5570DescriptionThere are n balls with m colors. The possibili...
分类:
其他好文 时间:
2015-11-22 21:45:03
阅读次数:
154
Problem DescriptionThere are n balls with m colors. The possibility of that the color of the i-th ball is color j is ai,jai,1+ai,2+...+ai,m. If the nu...
分类:
其他好文 时间:
2015-11-22 16:01:36
阅读次数:
136
难点:Q:如何用0 0结束输入?A:第一种尝试:while(scanf("%d",&n)!=0&&scanf("%d",&m)!=0){ ... }这样会TLETLE原因并非算法有问题(20000个数快排可以拿下无需顾虑) 而是读不进去n和m而且注意scanf自身有返回值 无法读入时返回值是-...
分类:
其他好文 时间:
2015-11-19 12:36:11
阅读次数:
163
DescriptionWindy hasNballs of distinct weights from 1 unit toNunits. Now he tries to label them with 1 toNin such a way that:No two balls share the sa...
分类:
编程语言 时间:
2015-10-28 22:36:35
阅读次数:
254
packageday14;
importjava.util.Arrays;
importjava.util.Random;
publicclassDemo01{
publicstaticvoidmain(String[]args){
int[]balls=gen();
System.out.println(Arrays.toString(balls));
}
publicstaticint[]gen(){
int[]pool=newint[34];
for(inti=1;i<..
分类:
编程语言 时间:
2015-10-02 11:25:54
阅读次数:
141
DescriptionWindy hasNballs of distinct weights from 1 unit toNunits. Now he tries to label them with 1 toNin such a way that:No two balls share the .....
分类:
编程语言 时间:
2015-09-26 15:51:18
阅读次数:
233
Labeling BallsTime Limit:1000MSMemory Limit:65536KTotal Submissions:12466Accepted:3576DescriptionWindy hasNballs of distinct weights from 1 unit toNun...
分类:
编程语言 时间:
2015-09-19 22:29:38
阅读次数:
282