码迷,mamicode.com
首页 >  
搜索关键字:docker find whalesay image    ( 88518个结果
LeetCode OJ - Minimum && Maximum Depth of Binary Tree
这两道题用递归的解法都很简单,只是稍有不同。下面是AC代码: 1 /** 2 * Given a binary tree, find its minimum depth. 3 * the minimum depth is the number of nodes along th...
分类:其他好文   时间:2014-05-10 08:47:32    阅读次数:271
Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他好文   时间:2014-05-10 01:09:28    阅读次数:325
Leetcode | Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You have t...
分类:其他好文   时间:2014-05-09 19:09:35    阅读次数:318
struts2的配置文件中的<param name="allowedTypes"></param>
image/JPEG,image/JPG /mulFile.jsp /su...
分类:其他好文   时间:2014-05-09 17:18:19    阅读次数:311
UI 控件小知识
》在storyboard 中添加控件 UIimageview 中 是不能拖进任何控件,但是手动代码可以》在BUtton 中 添加图片: 如果不想改变图片的拉伸,就在image中添加,如果在backbround 中添加,图片会随着按钮的frame被拉伸;填充小图片用image,大图片 用backgro...
分类:其他好文   时间:2014-05-05 11:08:15    阅读次数:295
hdu 1598 find the most comfortable road
http://acm.hdu.edu.cn/showproblem.php?pid=1598 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 const int inf=1<<30; 7...
分类:其他好文   时间:2014-05-05 10:53:38    阅读次数:344
hdu 1599 find the mincost route
http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd找最小环。 1 #include 2 #include 3 #include 4 #define maxn 200 5 using namespace std; 6 const int inf...
分类:其他好文   时间:2014-05-05 10:52:15    阅读次数:315
QT环境搭建常见的bug解决 -->ld: cannot find –lbootstrap 错误
常见错误列表一、编译arm环境的时候:./configure -prefix $HOME/Qtenv/arm -embedded arm-nomake docs -nomake demo -nomake examples1、configure完成之后,make出现问题:/usr/bin/ld: ca...
分类:其他好文   时间:2014-05-05 09:32:27    阅读次数:1967
MATLAB-octave中平面向量场图的可视化
quiver,平面向量场图[x, y, z] = peaks(20);[u, v] = gradient(z);contour(x, y, z, 10);hold on, quiver(x,y,u,v); hold offaxis image %令x与y的长度相等在octave-3.6.4-gcc4...
分类:其他好文   时间:2014-05-04 19:16:38    阅读次数:2238
WPF Image触摸移动方法
1: TouchPoint mPoint = null; 2: double mOffsetX;//水平滚动条当前位置 3: double mOffsetY;//垂直滚动条当前位置 4: bool mIsTouch = false;//是否触摸 5: //触摸事件 ...
分类:移动开发   时间:2014-05-04 12:05:12    阅读次数:1023
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!