摘要:
BUYING FEED 时间限制:3000 ms | 内存限制:65535 KB 难度:4 描写叙述 Farmer John needs to travel to town to pick up K (1 <= K <= 100)pounds of feed. Driving D miles wit 阅读全文
posted @ 2017-06-14 10:51
ljbguanli
阅读(146)
评论(0)
推荐(0)
摘要:
我们创建一个类的时候,我们有时候想给类的成员初始化为0;假如说 class A; 我们定义了 A m_a ; 我们有时候会简单有用memmset(&m_a。0,sizeof(A));这样看齐来貌似是给m_a的成员清0;实际上这样使用方法是错误的。实际上我们创建了一个类的对象的时候,类的对象是有一个函 阅读全文
posted @ 2017-06-14 10:17
ljbguanli
阅读(120)
评论(0)
推荐(0)
摘要:
1、表名和列的命名规则 1)必须字母、下划线开头 2)长度不能超过128个字符 3)不要使用sql server 保留字 4)仅仅能使用字符:A~Z,a~z,0~9,$,#。_等。 2、经常使用编码 1)Unicode码:可表示英文字母和汉字,用两个字节i宝石一个字符(英文、汉字)。 2)非Unic 阅读全文
posted @ 2017-06-14 09:42
ljbguanli
阅读(156)
评论(0)
推荐(0)
摘要:
#include<cstdio> #include<algorithm> using namespace std; int root[30010]; int num1[30010]; int num2[30010]; int find2(int x) { if(x != root[x]) { int 阅读全文
posted @ 2017-06-14 08:06
ljbguanli
阅读(138)
评论(0)
推荐(0)