码迷,mamicode.com
首页 >  
搜索关键字:binary index tree    ( 56466个结果
HLG 1564 螺旋矩阵 (趣味C语言)
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1564 Description 对于给定的一个数n,要你打印n*n的螺旋矩阵。 比如n=3时,输出: 1 2 3 8 9 4 7 6 5 Input 多组测试数据,每个测试数据包含一个整数n(1 Outpu...
分类:编程语言   时间:2014-06-09 23:23:32    阅读次数:322
HLG 1584 青蛙过河 (二分)
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1584 Description 青蛙王国一年一度的游戏又开始了,这个游戏要求青蛙必须跳过河。河的宽度是 L 。河里有n块石头,这n块石头从河的一边笔直的连到另一边。青蛙只能踩着石头过河,如果它们掉到水里,将被淘汰出局。游戏规定青蛙最...
分类:其他好文   时间:2014-06-08 17:52:04    阅读次数:178
NOIP2005提高组 && HLG 1219 谁拿了最多奖学金 (好经典的基础题 )
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1219 Description 某校的惯例是在每学期的期末考试之后发放奖学金。发放的奖学金共有五种,获取的条件各自不同: 1) 院士奖学金,每人8000元,期末平均成绩高于80分(>80),并且在本学期内发表1篇或1篇以上论文...
分类:其他好文   时间:2014-06-08 17:51:19    阅读次数:268
linux平台编译安装Poco C++
1、到官网下载poco-1.4.6p4-all.tar.gz,地址为http://pocoproject.org/download/index.html2、同时下载说明文档3、根据说明文档执行安装3.1 make --version,查看make编译器版本3.2 tar -xvf poco-X.Y....
分类:编程语言   时间:2014-06-08 07:14:54    阅读次数:288
公司全部域名解析
公司全部 域名解析完成,现在全部解析到公司官网。http://www.can2do.cn/index.html 或 http://can2do.cn/index.htmlhttp://www.can2do.mobi/index.html 或 http://can2do.mobi/index.html...
分类:其他好文   时间:2014-06-08 06:24:22    阅读次数:223
我没发现Mvc里的 web.config 有什么用。
实验过程由于 Mvc2+ 引入 Area ,导致文件夹结构发生变化。 Mvc下的 web.config 所在的位置是:~/Areas/MySystem/Views/Web.config对应的请求的URL是:~/MySystem/Home/Index这时, 在根目录下添加 AppSetting 项: ...
分类:Web程序   时间:2014-06-08 01:18:55    阅读次数:348
Leetcode::Pathsum & Pathsum II
PathsumDescription:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equa...
分类:其他好文   时间:2014-06-08 01:11:46    阅读次数:395
使用jsp生成验证码
在开发中验证码是比较常用到有效防止这种问题对某一个特定注册用户用特定程序暴力破解方式进行不断的登陆尝试的方式。此演示程序包括三个文件:1.index.jsp:登录页面2.image.jsp:生成验证码图片页面3.result.jsp:结果页面【页面代码】1.index.jsp ...
分类:Web程序   时间:2014-06-07 23:12:15    阅读次数:234
Windows 7下解决: java.net.SocketException: No buffer space available (maximum connections reached?)
查了一大堆网上的资料全都没用,Google得知,是Windows 7 的socket泄漏 :https://supportkb.riverbed.com/support/index?page=content&id=S23580&actp=LIST_RECENT补丁下载地址: http://suppo...
分类:编程语言   时间:2014-06-07 22:19:32    阅读次数:857
leetcode--Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:其他好文   时间:2014-06-07 16:55:09    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!