摘要:
CREATE DATABASE BANK_SYSTEMON ( NAME = bank_dat, FILENAME = 'F:\bank_dat.mdf', SIZE = 10MB, MAXSIZE = 50MB, FILEGROWTH = 5MB)LOG ON( NAME = bank_log, FILENAME = 'F:\bank_log.ldf', SIZE = 5MB, MAXSIZE = 25MB, FILEGROWTH = 5MB );GOUSE BANK_SYSTEMGOCREATE TABLE customer ...
阅读全文
posted @ 2012-10-18 22:45
Sinker
阅读(237)
推荐(0)
编辑
摘要:
/* ID:chenjiong PROG:clocks LANG:C++*/#include <cstdio>#include <string>#include <queue>#include <iostream>#include <string.h>using namespace std;typedef struct { int clock[9]; string opt;}S;S f;queue<S> q;bool vis[4][4][4][4][4][4][4][4][4];void move(S& cur,i
阅读全文
posted @ 2012-10-18 22:43
Sinker
阅读(181)
推荐(0)
编辑
摘要:
/* ID:chenjiong PROG:barn1 LANG:C++*/#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;const int MAXN = 205;int M,S,C;int p[MAXN];int l[MAXN];bool cmp(const int& x,const int& y){ return x > y;}int main(){ freopen("barn1.in","r&qu
阅读全文
posted @ 2012-10-18 22:42
Sinker
阅读(143)
推荐(0)
编辑
摘要:
/* ID:chenjiong PROG:calfflac LANG:C++*/#include <stdio.h>#include <string.h>#include <iostream>using namespace std;char txt[20005];int len;typedef struct { int l; int r; int mid; int length;}NODE;NODE final;NODE tmp;bool is_same(char a,char b){ if ( a == b || a - b == 'A'
阅读全文
posted @ 2012-10-18 22:41
Sinker
阅读(135)
推荐(0)
编辑
摘要:
/* ID:chenjiong PROG:milk3 LANG:C++*/#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;int bucket[3];int amount[3];int ans[20];int num;bool vis_2[21];bool vis[21][21][21];int order[6][2] = {{2,1},{2,0},{1,0},{1,2},{0,1},{0,2}};bool is_empty(int No){ if (
阅读全文
posted @ 2012-10-18 22:40
Sinker
阅读(143)
推荐(0)
编辑