其他
It is a small fun problem to solve. Since only a max sum is required (no need to print path), we can only keep track of the max value at each line. Ba...
分类:其他 时间:2014-02-09 16:33:46 收藏:0 阅读:456
#对easyui datagrid组件的一个小改进##问题在实际项目中使用datagrid时,受版面限制,有时候表格不能太大,这时候表格里面的内容就不能完全显示,用户需要经常拖动调整列宽才能看完整![长度不足](http://images.cnitblog.com/blog/84053/201402...
分类:其他 时间:2014-02-09 16:33:36 收藏:0 阅读:415
给定一个1….n的正整数序列,每次操作可以从序列寻找出一个或多个正整数,然后同时减去一个相同的正整数。通过画图可以发现只要把后一半都减去n/2就和前一半一样了,所以有递推式 f(n )=f(n/2) + 1#include using namespace std;int f(int n) { ret...
分类:其他 时间:2014-02-09 16:33:26 收藏:0 阅读:333
http://blog.csdn.net/developer_jiangqq/article/details/12130799http://www.cocoachina.com/special/fornew.html
分类:其他 时间:2014-02-09 16:33:21 收藏:0 阅读:314
类:Regexhttp://msdn.microsoft.com/zh-cn/library/system.text.regularexpressions.regex%28v=vs.100%29.aspx命名空间:System.Text.RegularExpressions构造函数:Regex(st...
分类:其他 时间:2014-02-09 16:33:16 收藏:0 阅读:446
广搜……#include #include #include #include using namespace std; struct node { int num[4],step; }; node start,end; bool visit[10][10][10][10],flag; void b...
分类:其他 时间:2014-02-09 16:33:11 收藏:0 阅读:343
神题,搜索太差,来自网络的题解与程序思路: 封锁出口或者入口周围的格子.最多需要4个封锁点.所以我们可以采取这样的策略:1.寻找一条盗贼的可行路线,如果没有,返回0.2.计算封锁出口和入口四周需要的封锁点数量,取小的一个,假设是k,k #include #include #define FOR(i,...
分类:其他 时间:2014-02-09 16:33:06 收藏:0 阅读:366
在用Visual Studio 2013做node.js开发时,遇到中文乱码问题,需要将GBK编码转成utf-8编码,之前一直用UltraEdit更改文件编码,但是每次改完,原本的中文变成了乱码,要手工改回来,太麻烦了,在网上找了下,发现可以直接在Visual Studio里面直接更改文件的编码,而...
分类:其他 时间:2014-02-09 16:33:01 收藏:0 阅读:297
UML类图基本元素符号
分类:其他 时间:2014-02-09 16:32:56 收藏:0 阅读:358
题解:记录转弯次数,直接广搜即可#include#includeusing namespace std;char map[102][102];int n,m,bx,by,ex,ey,k,mark[102][102];int dir1[4][2]={{1,0},{-1,0},{0,1},{0,-1}}...
分类:其他 时间:2014-02-09 16:32:51 收藏:0 阅读:312
1165380165381165382166744
上一页1667435下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!