首页 > 其他
Isomorphic Strings
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ...
分类:其他   时间:2015-06-08 23:10:00    收藏:0  评论:0  赞:0  阅读:262
关系代数——连接
关系代数——连接
分类:其他   时间:2015-06-08 23:09:41    收藏:0  评论:0  赞:0  阅读:216
作业四 递推求解
记录点滴。 1 /* 2 2015.6 HT 3 ACM Work_4 4 5 */ 6 #include 7 #include 8 using namespace std; 9 10 /* 11 超级楼梯 12 一楼梯共M级,刚开始在第一级,每次只能跨上一级或二级 1...
分类:其他   时间:2015-06-08 23:09:30    收藏:0  评论:0  赞:0  阅读:347
Find the total area covered by two rectilinear rectangles in a 2D plane. 208MM
Find the total area covered by tworectilinearrectangles in a2Dplane.Each rectangle is defined by its bottom left corner and top right corner as shown ...
分类:其他   时间:2015-06-08 23:09:20    收藏:0  评论:0  赞:0  阅读:653
Pascal's Triangle II 杨辉三角
1 class Solution { 2 public: 3 vector getRow(int rowIndex) { 4 vector> tri; 5 if(rowIndex==0) 6 { 7 vector c;...
分类:其他   时间:2015-06-08 23:08:50    收藏:0  评论:0  赞:0  阅读:369
用callgraph生成的两张函数调用关系图
参考这里,感觉很Cool吧。Linux-0.11函数调用关系图:QEMU函数调用关系图:
分类:其他   时间:2015-06-08 23:07:50    收藏:0  评论:0  赞:0  阅读:270
Count Complete Tree Nodes
Given acompletebinary tree, count the number of nodes.Definition of a complete binary tree fromWikipedia:In a complete binary tree every level, except...
分类:其他   时间:2015-06-08 23:07:10    收藏:0  评论:0  赞:0  阅读:310
FolderSync :The various features and how to use them
Help - Tacit DynamicsHelpThis page describes the various features of FolderSync and how to use them. If you have problems, tryconsultingthe FAQ or try...
分类:其他   时间:2015-06-08 23:07:00    收藏:0  评论:0  赞:0  阅读:415
HDU5266---pog loves szh III (线段树+LCA)
题意:N个点的有向树, Q次询问, 每次询问区间[L, R]内所有点的LCA。大致做法:线段树每个点保存它的孩子的LCA值, 对于每一次询问只需要 在线段树查询即可。 1 #include 2 using namespace std; 3 const int MAXN = 3e5+10; ...
分类:其他   时间:2015-06-08 23:06:40    收藏:0  评论:0  赞:0  阅读:281
使用QT 4.8.6 + Cmake 3.0.0 编译 最新版本OpenCv3.0.0
mingw32 (x32)gcc 4.8.1 g++ 4.8.1 qt 4.8.6 opencv-3.0.0 2015-06-04 cmake 3.3.0-rc1 windows 7 x64 参考文章: http://blog.csdn.net/qiurisuixiang/article/deta....
分类:其他   时间:2015-06-08 23:06:20    收藏:0  评论:0  赞:0  阅读:600
《大话设计模式》学习笔记25[完结]:模式总结
一、创建型模式(5):原型、建造者、单例、工厂、抽象工厂。 1.原型模式:建立相应数目的原型并克隆它们通常比每次用合适的状态手工实例化该类更方便。 2.建造者模式:将一个复杂对象的构建与它的表示分离,用同样的构建过程创建不同的产品。 3.单例模式:让类自身负责保存它的唯一实例。这个类可以保证没...
分类:其他   时间:2015-06-08 23:06:10    收藏:0  评论:0  赞:0  阅读:190
结构体的声明
//定义结构体 Pointstruct Point { int x; int y;};void main(){ Point pt; pt.x=5; pt.y=7; cout<<pt.x<<endl<<pt.y<<endl;}//------------------...
分类:其他   时间:2015-06-08 23:05:40    收藏:0  评论:0  赞:0  阅读:190
hdu 5265 pog loves szh II STL
pog loves szh IITime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5265Descriptionpog在与szh玩游戏,首先pog找到了一个包含n个数的序列,然后他在...
分类:其他   时间:2015-06-08 23:04:50    收藏:0  评论:0  赞:0  阅读:171
OC中的NSNumber
1 //声明一个整数 2 NSInteger a=9; 3 //创建常见的数据类型的对象 4 NSNumber *intNumber=[[NSNumber alloc] initWithInt:5]; 5 NSNumber *floatNumber=[[NSNumb...
分类:其他   时间:2015-06-08 23:04:30    收藏:0  评论:0  赞:0  阅读:200
测试Flask应用_学习笔记
源代码尽在我的github上面:https://github.com/521xueweihan欢迎大家交流学习"""setUp() 方法中会创建一个新的测试客户端并初始化一个新的数据库。在每个独立的测试函数运行前都会调用这个方法。 tearDown() 方法的功能是在测试结束后关闭文件,并在文件系统...
分类:其他   时间:2015-06-08 23:04:20    收藏:0  评论:0  赞:0  阅读:335
正则表达式速查表
正则表达式在编程中总会有用到的时候,在个人认知中,如下编程语言会用到,当然还不止:(1)Web前端:JavaScript(2)Web后端:ASP.NET、JSP、PHP(3)移动端:Android、iOS这里列举了正则表达式的一些基本描述和用法,方便个人随时查找。PS:内容来自网络,非个人原创;我也...
分类:其他   时间:2015-06-08 23:03:50    收藏:0  评论:0  赞:0  阅读:264
如何设置backBarButtonItem的title和action
1、为什么在UIViewController内设置了self.navigationItem.backBarButtonItem 对于导航栏显示的backBarButtonItem不起任何作用?首先我们得了解一下backBarButtonItem(其中当text属性太长时就会显示失败)leftBarB...
分类:其他   时间:2015-06-08 23:03:40    收藏:0  评论:0  赞:0  阅读:373
计算机网络技术基础知识
TCP/IP参考模型 ISO制定的OSI参考模型的过于庞大、复杂招致了许多批评。与此对照,由技术人员自己开发的TCP/IP协议栈获得了更为广泛的应用. TCP/IP参考模型的层次结构 TCP/IP协议栈是美国国防部高级研究计划局计算机网(Advanced Research Projects Age....
分类:其他   时间:2015-06-08 23:03:20    收藏:0  评论:0  赞:0  阅读:274
How do I use Tasker to run a sync in FolderSync?
First of all the full version is required.The full version works as a Tasker plugin - when you configure a new task in Tasker you are presented with a...
分类:其他   时间:2015-06-08 23:02:10    收藏:0  评论:0  赞:0  阅读:197
ViewHelper.setTranslationY(view,float)函数的解释
参考:http://blog.csdn.net/lixiaodaoaaa/article/details/41310233需要集成nineoldandroid.jarpackage com.nineoldandroids.view; import android.view.View; import ...
分类:其他   时间:2015-06-08 23:01:51    收藏:0  评论:0  赞:0  阅读:809
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!