摘要: devcpp增加对c++11的支持工具→编译选项如图,增加c++11支持c++11 random头文件对随机数的支持// random_device example#include #include int main (){ std::random_device rd; std::cout #i... 阅读全文
posted @ 2014-05-19 11:39 剑风云 阅读(281) 评论(0) 推荐(0)
摘要: 归并排序#define LOCAL#include#include //生成随机数c++11支持 #include #include #includeusing namespace std;int const MAX_N=10;int a[MAX_N],b[MAX_N],c[2*MAX_N];//归... 阅读全文
posted @ 2014-05-19 11:33 剑风云 阅读(185) 评论(0) 推荐(0)
摘要: Context.javapackage edu.interpreter;public class Context { private String input; private int output; public String getInput() { return... 阅读全文
posted @ 2014-05-18 15:53 剑风云 阅读(187) 评论(0) 推荐(0)
摘要: 拓扑图1234测试: 阅读全文
posted @ 2014-05-18 13:57 剑风云 阅读(142) 评论(0) 推荐(0)
摘要: State.javapackage edu.state;public abstract class State { public abstract void doSomething(Person person);}LState.javapackage edu.state;public clas... 阅读全文
posted @ 2014-05-18 12:57 剑风云 阅读(394) 评论(0) 推荐(0)
摘要: //#define LOCAL#include#include#include#includeint const MAX_N=101;typedef struct Point{ int x,y; bool operatorVec[i].y) { ... 阅读全文
posted @ 2014-05-18 10:31 剑风云 阅读(200) 评论(0) 推荐(0)
摘要: //#define LOCAL#include#includeusing namespace std;int const MAX_N=100001;int const INF=10000000;int N,M,x[MAX_N];void init(){ for(int i=0;i1) {... 阅读全文
posted @ 2014-05-18 10:06 剑风云 阅读(270) 评论(0) 推荐(0)
摘要: GuoZai.javapackage edu.facade2;public class GuoZai { public void mai() { System.out.println("买股票"); }}GuPiao.javapackage edu.facade2;publ... 阅读全文
posted @ 2014-05-17 18:06 剑风云 阅读(285) 评论(0) 推荐(0)
摘要: 目录:ClassA.javapackage cn.itcast.domain;public class ClassA { public String say() { return "Hello World!"; }}applicationContext.xml Cla... 阅读全文
posted @ 2014-05-17 17:30 剑风云 阅读(733) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-05-17 11:30 剑风云 阅读(102) 评论(0) 推荐(0)