码迷,mamicode.com
首页 >  
搜索关键字:check point r77.30    ( 16204个结果
习题单词数字匹配
习题单词数字匹配 /** * 功能:选择一组等长的英文单词,将输入的数字串转化成相应的字符,和有的单词进行匹配 * 时间:2014年6月4日14:25:20 * 作者:cutter_point */ package com.lesson4; import java.util.*; public class Demo4_7 { //初始化String数组s1 /* s1[0]="...
分类:其他好文   时间:2014-06-29 07:36:24    阅读次数:162
冒泡排序
冒泡排序 /** * 功能:定义一个一维整数数组,其中存储随机生成的100个整数,升幂排序 * 时间:2014年6月4日15:30:38 * 作者:cutter_point */ package com.lesson4; import java.util.*; public class Demo4_8 { public static void main(String [] ar...
分类:其他好文   时间:2014-06-20 12:29:00    阅读次数:203
判断一个数是否是2的幂次方以及保留一个数的最高位的方法
#include int check_power(unsigned int n){ /**************************************** * 如果n是2的幂,那么(n-1)也就是其二进制全为1的数 ********************************...
分类:其他好文   时间:2014-06-11 12:45:21    阅读次数:231
MFC简单的橡皮筋程序
void CMainWindow::OnLButtonDown(UINT nFlags,CPoint point){ //以下三个是在CMainWindow中定义 m_ptFrom=point; m_ptTo=point; m_track=TRUE;}void CMainWi...
分类:其他好文   时间:2014-06-11 12:03:13    阅读次数:1160
hdu 4460
break point 在 边数很少,o(n*m)暴力出奇迹~~~#include#include#include#include#include#include#includeusing namespace std;const int maxn = 1005, maxm = 22222, inf=...
分类:其他好文   时间:2014-06-09 23:00:47    阅读次数:342
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 / 2 2 / \ / 3 4 4 3 ...
分类:其他好文   时间:2014-06-08 18:12:04    阅读次数:248
UVa 10196 - Check The Check
题目:国际象棋,判断当前状态,哪一方被将军了。不会有同时被将军的情况。 分析:模拟。直接按照国际象棋的规则模拟即可。             把操作分成两种,单点判断和射线判断,写成函数减少公共代码,也降低错误率;             然后:兵、马、王(不用判断)都是单点判断,后、车、象都是射线判断。             每种情况,调用不同的方向向量即可。 说明:没有同时成立的情...
分类:其他好文   时间:2014-06-08 17:14:06    阅读次数:265
extjs tree check 级联选择
extjs4 tree check 级联选择 实现效果:关键代码: function changeAllNode(node, isCheck) { allChild(node, isCheck); allParent(node, isCheck); function allChild(nodec, isCheckc) { var chileNodes = n...
分类:Web程序   时间:2014-06-08 15:25:20    阅读次数:222
25条提高iOS App性能的技巧和诀窍
这篇文章来自iOS Tutorial Team 成员Marcelo Fabri, 他是Movile的一个iOS开发者. Check out hispersonal websiteorfollow him on Twitter.原文地址 当我们开发iOS应用时,好的性能对我们的App来说是很重要的。你...
分类:移动开发   时间:2014-06-08 01:28:27    阅读次数:507
LeetCode: Container With Most Water 题解
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2014-06-07 23:03:35    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!