工作之余闲来无聊,于是就有了用JS来实现算法演示的想法,很久以前用JS实现过选择排序,不过源程序找不到了! 汉诺塔的递归算法:void move(int n,char a,char b,char c){ if(n==1) printf("\t%c->%c\n",a,c); ...
分类:
其他好文 时间:
2014-07-16 20:57:51
阅读次数:
228
使用asmcmd cp命令 把datafile从文件系统移动(move)到asm磁盘组中--针对11gR2...
分类:
移动开发 时间:
2014-07-13 16:28:01
阅读次数:
190
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2014-07-13 16:01:42
阅读次数:
209
在rac中,使用asmcmd命令从 文件系统 move system datafile 到asm磁盘组的方法...
分类:
其他好文 时间:
2014-07-13 15:39:32
阅读次数:
366
Little BishopsA bishop is a piece used in the game of chess which is played on a board of square grids. A bishop can only move diagonally from its cur...
分类:
其他好文 时间:
2014-07-09 23:05:17
阅读次数:
252
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-09 23:00:38
阅读次数:
208
Description
Imagine you are standing inside a two-dimensional maze composed of square cells which may or may not be filled with rock. You can move north, south, east or west one cell at a step. T...
分类:
其他好文 时间:
2014-07-08 21:04:29
阅读次数:
347
最今在玩2048这款小游戏,游戏逻辑简单,非常适合我这种对于游戏新入行的人来实现逻辑。于是选择了最拿手的ruby语言来实现这款小游戏的主要逻辑。还是挺简单的,加起来4小时左右搞定。
上代码:
require 'optparse'
module Help
HELP_TEXT =< move to left
r =>...
分类:
其他好文 时间:
2014-07-08 18:02:06
阅读次数:
252
本文摘自:http://adamcavendish.is-programmer.com/posts/38190.htm 引言众所周知,C++11 的新特性中有一个非常重要的特性,那就是 rvalue reference ,右值引用。 引入它的一个非常重要的原因是因为在 C++ 中,常常右值,通俗地讲...
分类:
编程语言 时间:
2014-07-06 16:12:12
阅读次数:
293
定义一个UIView:主要是在这个View里面加一个UIImageView,画图都在这个UIImageView里面进行
@property(nonatomic) CGPoint prePoint; //手指在进入move事件之前的那个点
@property(nonatomic) CGPoint oppsitePoint; //手指在进入move事件之前的那个点
@property(nonat...
分类:
移动开发 时间:
2014-07-01 09:04:36
阅读次数:
359