#include
using namespace std;
class Point{
public:
Point(int _x = 0, int _y = 0, int _z = 0):x(_x), y(_y), z(_z){}
Point(){}
~Point(){}
friend ostream& operator<<(ostream &os, const Point &pd);
...
分类:
编程语言 时间:
2014-09-19 04:29:05
阅读次数:
183
#include#include#include#include#include#include#include#define INF 0x3f3f3f3fusing namespace std;int a[1005];int main(){ int n, m, k; int ans, ...
分类:
其他好文 时间:
2014-09-19 02:19:24
阅读次数:
205
一个小错误,排查了半天,不要提早引用,需要引用能简化书写。/*ID: qq104801LANG: C++TASK: lgame*/#include #include #include #include #include #include #include using namespace std;in...
分类:
其他好文 时间:
2014-09-19 01:08:14
阅读次数:
308
Kuhn - Munkres 算法,第一次拍各种问题,不过还是A掉了。。/*ID:esxgx1LANG:C++PROG:hdu2255*/#include #include #include #include using namespace std;typedef long long LL;#def...
分类:
其他好文 时间:
2014-09-18 23:40:04
阅读次数:
230
#include#include#include#includeusing namespace std;int main(){ string a,b; int tag,radix; int anum,bnum; //freopen("1010-in.txt","r",stdin); //f...
分类:
其他好文 时间:
2014-09-18 23:32:04
阅读次数:
266
1 //Accepted 1100 KB 47 ms 2 //多重背包 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 using namespace std;10 /**11 * ...
分类:
其他好文 时间:
2014-09-18 23:30:04
阅读次数:
244
SELECT?EXISTS(SELECT?1?FROM?information_schema.schemata?WHERE?schema_name?=?‘data_2014_shanxi‘); SELECT?EXISTS(SELECT?1?FROM?pg_namespace?WHERE?nspname?=?‘data_2014_shanx‘); 两种方式...
分类:
数据库 时间:
2014-09-18 22:25:14
阅读次数:
443
#include#include#include#includeusing namespace std;int main(){ int n,d; stack s; //freopen("1015-in.txt","r",stdin); //freopen("1015-out.t...
分类:
其他好文 时间:
2014-09-18 22:13:54
阅读次数:
173
1 //Accepted 868 KB 188 ms 2 //多重背包 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 using namespace std;10 /**11 * ...
分类:
其他好文 时间:
2014-09-18 22:08:14
阅读次数:
190
看完题解自己敲了一遍 还需要加深理解吧#include#include#includeusing namespace std;int c[50000],num[50000];int N=32100;int lowbit(int x){ return x&(-x);}int sum(int x)...
分类:
其他好文 时间:
2014-09-18 22:01:34
阅读次数:
141