摘要: 本文fcbruce个人原创整理。转载请注明出处http://blog.csdn.net/u012965890/article/details/40432511,谢谢。我们知道在C/C++中int型可处理-2^31~2^31-1(32位及以上编译器),long long型可处理-2^63~2^63-1... 阅读全文
posted @ 2015-06-23 17:42 phlsheji 阅读(401) 评论(0) 推荐(0) 编辑
摘要: ${name} ${parent.name} ${description} 删除 改动 上面的删除与改动都须要通过OGNL表达式为其指定一个id,这个id事实上是在list显示的时候已... 阅读全文
posted @ 2015-06-23 16:31 phlsheji 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 通过经常使用的项目中的DataTable,假设DataTable使用得当,不仅能使程序简洁有用,并且可以提高性能,达到事半功倍的效果,现对DataTable的使用技巧进行一下总结。一、DataTable简单介绍(1)构造函数DataTable() 不带參数初始化DataTable类的新实例。Data... 阅读全文
posted @ 2015-06-23 15:01 phlsheji 阅读(2000) 评论(0) 推荐(0) 编辑
摘要: Checks if an object is compatible with a given type.An is expression evaluates totrue if the provided expression is non-null, and the provided objec... 阅读全文
posted @ 2015-06-23 13:42 phlsheji 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 称号:网络格迷宫n行m单位列格组成,每个单元格无论空间(使用1表示),无论是障碍(使用0为了表示)。你的任务是找到一个动作序列最短的从开始到结束,其中UDLR同比分别增长、下一个、左、向右移动到下一个单元格。不论什么时候都不能在障碍格中。也不能走到迷宫之外。起点和终点保证是空地。分析:图的BFS。#... 阅读全文
posted @ 2015-06-23 12:12 phlsheji 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 困难,。,真,,,不是太困难的问题是,有一个矩阵运算优化您有权发言权N*K矩阵A给K*N矩阵B(1#include #include #include #include #include using namespace std;int a[1111][1111];int b[1111][1111];... 阅读全文
posted @ 2015-06-23 10:53 phlsheji 阅读(269) 评论(0) 推荐(0) 编辑
摘要: Binary codesTime Limit:1000MSMemory Limit:65536KTotal Submissions:5647Accepted:2201DescriptionConsider a binary string (b1…bN) withNbinary digits. Giv... 阅读全文
posted @ 2015-06-23 08:39 phlsheji 阅读(295) 评论(0) 推荐(0) 编辑