码迷,mamicode.com
首页 >  
搜索关键字:check point    ( 16204个结果
crash - JNI WARNING: input is not valid modified utf-8: illegal continuation byte
the key point is "Modified UTF-8" is not like "Regular UTF-8", a legal Rgular UTF8 code sequence may be considered illegal against Modified UTF8.One w...
分类:其他好文   时间:2014-05-09 10:51:58    阅读次数:628
java web 程序---登陆验证4个页面
思路: 1.第一个是登陆页面login.jsp一个form表单。点击登陆按钮 2.第二个是验证页面check.jsp.如果username和password都正确。则跳转到另一个页面a.jsp显示登陆成功。否则,登陆有误,提醒用户,重新登陆。 3.当用户没有输入用户名和密码就直接进入登陆...
分类:编程语言   时间:2014-05-09 10:10:30    阅读次数:356
Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:其他好文   时间:2014-05-09 09:28:18    阅读次数:253
SICP 习题 (1.35)解题总结
SICP 习题 1.35要求我们证明黄金切割率φ 是变换函数 x => 1+ 1/x 的不动点,然后利用这一事实通过过程fixed-point 计算出φ的值。首先是有关函数的不动点,这个概念须要理解清晰,后面好几道题都是环绕函数不动点展开的。作者在这里设计这些习题的原因也是希望读者能够关注函数不动点...
分类:其他好文   时间:2014-05-09 03:24:39    阅读次数:343
iOS 获取图片某一点的颜色对象(UIColor*)。
- (UIColor *)colorAtPixel:(CGPoint)point {     // Cancel if point is outside image coordinates     if (!CGRectContainsPoint(CGRectMake(0.0f, 0.0f, self.size.width, self.size.height), point)) {...
分类:移动开发   时间:2014-05-09 01:04:12    阅读次数:503
【暴力+排除法】FZU 2148 Moon Game
比赛地址:点击打开链接 比赛做粗的4个题几乎都是水,感觉弱的水爆炸了。 这个题最初的思路是枚举找出四个点,做凸多边形的模板判断。C(30,4)。 结果答案不对。。后来发现模板上是要求点对的顺序是逆时针或顺时针输入。 于是用时钟排序的函数排序后判断: bool cmp(point p1, point p2) { return atan2(p1.y, p1.x) < atan2(p2...
分类:其他好文   时间:2014-05-09 00:29:35    阅读次数:381
结构体的构造函数
一直想用诸如node k = node(args1,args2...argsN)的方式来初始化一个结构体,可以简化很大一部分代码,开始不知道怎么写,后来问人家,总结出一套代码如下:struct Point{ int x,y; Point(int _x_,int _y_) { ...
分类:其他好文   时间:2014-05-08 11:36:15    阅读次数:227
5、个人执行
目标制定OK了,用PDCA来说执行流程吧,Plan-Do-Check-Action.执行中的准则1、积极主动2、以终为始,3、分清轻重缓急,毛主席都交到我们要分清主要矛盾和次要矛盾,80/20法则以上来自《成功人士的7个习惯》的前3个。我认为还要再加一个就是坚定不移的决心,不达目标誓不罢休,说易行难...
分类:其他好文   时间:2014-05-08 09:52:32    阅读次数:258
十一周 项目4 类族的设计
#include #include using namespace std; class Point { public: Point(double x=0,double y=0); void setPoint(double,double); double getx() { return x; } double gety() ...
分类:其他好文   时间:2014-05-08 04:44:47    阅读次数:237
十一周 项目4 类族的设计 完整版
#include #include using namespace std; class Point { public: Point(double x=0,double y=0); void setPoint(double,double); double getx() { return x; } double gety() ...
分类:其他好文   时间:2014-05-08 03:42:17    阅读次数:273
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!