码迷,mamicode.com
首页 > 其他好文
hdu 1536 NIM博弈 (模板)
推荐文章博弈论初步:http://www.cnblogs.com/Knuth/archive/2009/09/05/1561002.html博弈解决思想:http://www.cnblogs.com/Knuth/archive/2009/09/05/1561005.htmlNIM游戏:http://...
分类:其他好文   时间:2015-01-27 23:16:16    阅读次数:222
UINavigationController自定义navigationbar的2种思路
/* 设计自定义导航控制器的navigationbar的2种方法 1.首先将navigationbar隐藏,然后写个父类的viewcontroller,里面有个组件就是头部那块组件。充当navigationbar,银海的项目都是这种 2.首先将navigationbar隐藏,然后在navigatio...
分类:其他好文   时间:2015-01-27 23:16:44    阅读次数:132
33: Binary Tree Level Order Traversal II
/************************************************************************/ /* 33: Binary Tree Level Order Traversal II */ /*************************.....
分类:其他好文   时间:2015-01-27 23:17:34    阅读次数:196
用drawAtPoint绘制文字
从ios7开始,drawAtPoint:WithFont:等方法已经deprecated,取而代之应该使用drawAtPoint:WithAttributes方法,来设置字体的颜色和大小等,例: NSDictionary *attrs = [NSDictionary dictionaryWit...
分类:其他好文   时间:2015-01-27 23:18:23    阅读次数:208
39.2: Binary Tree Zigzag Level Order Traversal
/************************************************************************/ /* 38: Binary Tree Zigzag Level Order Traversal */ /*********************.....
分类:其他好文   时间:2015-01-27 23:17:40    阅读次数:150
TNS-12540: TNS:internal limit restriction exceeded
监听日志listener.log里面出现了 TNS-12518: TNS:listener could not hand off client connection与TNS-12540: TNS:internal limit restriction exceeded错误,如下所示,用户连接不上ORA...
分类:其他好文   时间:2015-01-27 23:17:13    阅读次数:381
40: Binary Tree Preorder Traversal
/************************************************************************/ /* 40: Binary Tree Preorder Traversal */ /*****************************...
分类:其他好文   时间:2015-01-27 23:16:12    阅读次数:244
31: Balanced Binary Tree
/* * Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which th.....
分类:其他好文   时间:2015-01-27 23:16:02    阅读次数:206
HDOJ 1076
An Easy TaskTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15396Accepted Submission(s): 9830Probl...
分类:其他好文   时间:2015-01-27 23:16:30    阅读次数:273
Lesson(DynamicMerry)动态内存分配
// main.m// 1-27随堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/27.// Copyright (c) 2015年 lanouhn. All rights reserved.//动态内存分配(DynamicMerry)#impor...
分类:其他好文   时间:2015-01-27 23:14:58    阅读次数:227
什么是句柄?为什么会有句柄?HANDLE
什么是句柄?为什么会有句柄?HANDLE今天学习Android,看到一个unix函数不明白,但返回值是handle,查了查意思,是句柄的意思,那什么是句柄呢,从网上搜了一些答案,觉得这篇文章比较好,个人认为比wiki的都要讲的好。简而言之,句柄是一种抽象的思想:隐藏了内核实现的细节同时为调用提供了方...
分类:其他好文   时间:2015-01-27 23:15:54    阅读次数:218
File Input and Output
Assume ifle and ofile is the string object storing the names of input and output files' names.string ifile = "inputFile.txt";string ofile = "outputFil...
分类:其他好文   时间:2015-01-27 23:14:54    阅读次数:343
36: Same Tree
/************************************************************************/ /* 36: Same Tree */ /****************************************************.....
分类:其他好文   时间:2015-01-27 23:14:26    阅读次数:195
Count and Say
Count and SayThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is r...
分类:其他好文   时间:2015-01-27 23:13:12    阅读次数:244
bzoj3767 A+B Problem加强版
DescriptionInput输入A,BOutput输出A+B。Sample Input1 1Sample Output2HINT对于100%的数据,保证 |A| , |B| 不会超过10^(10^7)呃……高精a+b和a-b的模板题没啥技术含量的……我还以为会有什么--0之类的出现#includ...
分类:其他好文   时间:2015-01-27 23:15:02    阅读次数:367
Apatana的安装
第一种配置方式:1.解压Eclipse2.在任意目录下,推荐就在Eclipse安装目录下(注意安装目录不包含中文空格)新建一个myplugins(随便起名)文件夹,再新建一个文件夹aptana(随便起),在apatana文件夹中创建一个文件夹eclipse(固定名字),将aptana相关的两个文件夹...
分类:其他好文   时间:2015-01-27 23:14:02    阅读次数:280
awk的些许小技巧
一句话kill掉名为navimain的process(利用awk的列操作能力)kill -15 `ps|grep navimain | awk 'NR==1 {print $1}'`
分类:其他好文   时间:2015-01-27 23:13:01    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!