码迷,mamicode.com
首页 >  
搜索关键字:simple    ( 6450个结果
The differentiation program with abstract data
#!r6rs ( import ( rnrs base ( 6 ) )          ( rnrs io simple ( 6 ) ) ) ( define ( deriv exp var )    ( define ( variable? x )       ( symbol? x ) )        ( define ( =number? exp num )...
分类:其他好文   时间:2014-08-01 02:28:20    阅读次数:210
浅析JAVA设计模式之工厂模式(一)
1 工厂模式简介    工厂模式的定义:简单地说,用来实例化对象,代替new操作。    工厂模式专门负责将大量有共同接口的类实例化。工作模式可以动态决定将哪一个类实例化,不用先知道每次要实例化哪一个类。    工厂模式可以分一下三种形态:    简单工厂 (Simple Factory) 模式:又称静态工厂模式(StaticFactory)。    工厂方法 (Factroy M...
分类:编程语言   时间:2014-08-01 00:10:40    阅读次数:320
Deploy Ceph and start using it:simple librados cli
This part of the tutorial describes how to?setup a simple Ceph client using librados (for?C++). The only information that the client requires for the?cephx?authentication is Endpoint of the mon...
分类:其他好文   时间:2014-07-31 21:24:07    阅读次数:399
[ACM] ZOJ 3329 One Person Game (概率DP,有环,巧妙转化)
One Person Game Time Limit: 1 Second      Memory Limit: 32768 KB      Special Judge There is a very simple and interesting one-person game. You have 3 dice, namely Die1, Die2 and Die3. Die1 ha...
分类:其他好文   时间:2014-07-31 20:51:57    阅读次数:311
bash入门教程
shell的种类: sh ?- Bourne shell csh or tcsh - C shell korn - Korn shell bash - GNU Bourne-Again shell 1.最简单的列子 例子 #!/bin/bash ? #?This?is?a?very?simple?example?echo?Hello?World e...
分类:其他好文   时间:2014-07-31 00:13:45    阅读次数:454
Simple GDB case
to be added...gdb a.out[Inferior 1 (process 9718) exited with code 05](gdb) listLine number 15 out of range; t.c has 14 lines.(gdb) list 11 #include2 ...
分类:数据库   时间:2014-07-30 23:33:25    阅读次数:352
成段更新
A Simple Problem with Integershttp://poj.org/problem?id=3468 1 #include 2 #define lrrt int L,int R,int rt 3 #define iall 1,n,1 4 #define imid int mid=...
分类:其他好文   时间:2014-07-30 23:32:35    阅读次数:338
线段树 + 区间更新 + 模板 ---- poj 3468
A Simple Problem with IntegersTime Limit:5000MSMemory Limit:131072KTotal Submissions:59798Accepted:18237Case Time Limit:2000MSDescriptionYou haveNinte...
分类:其他好文   时间:2014-07-30 23:09:55    阅读次数:370
HDU - 2842 Chinese Rings
Description Dumbear likes to play the Chinese Rings (Baguenaudier). It’s a game played with nine rings on a bar. The rules of this game are very simple: At first, the nine rings are all on the bar....
分类:其他好文   时间:2014-07-30 20:50:24    阅读次数:319
PKU A Simple Problem with Integers (线段树区间更新求和)
题意:典型的线段树C,Q问题,有n个数a[i] (1~n),C, a, b,c在[a,b]区间增加c Q a b 求[a,b]的和。 #include #include #include #include #include #include #include #include #include #include #include using namespace std; #defi...
分类:其他好文   时间:2014-07-30 20:45:24    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!