http://acm.hdu.edu.cn/showproblem.php?pid=2236
找n个数使得这n个数都在不同的行和列里显然是二分图模型。难点在于求最大值与最小值差值最小。这里二分差值(看的题解),进行试探是否可以匹配成功。
#include
#include
#include
#include
#include
#include
#includ...
分类:
其他好文 时间:
2014-05-09 02:39:47
阅读次数:
356
题目来源:HDU 3081 Marriage Match II
题意:
思路:
错误代码 纠结不知道哪错了 先放一放
#include
#include
#include
#include
#include
using namespace std;
const int maxn = 1010;
const int INF = 999999999;
struct Edg...
分类:
其他好文 时间:
2014-05-09 02:38:25
阅读次数:
264
1 表和列的命名规则
a. 必须以字母开头
b. 长度不能超过30个字符
c. 不能使用Oracle的保留字(关键字)
d. 只能使用如下字符A-Z,a-z,0-9,$,#
2 创建表
语法:create table 表名 (列名 数据类型,列名 数据类型,...)
SQL> create table Student (StuNo number(10),Gender ch...
分类:
其他好文 时间:
2014-05-09 02:31:05
阅读次数:
262
data segment
string1 db 'Please input a number:',0dh,0ah,'$'
string2 db 0dh,0ah,'It is a number!',0dh,0ah,'$'
string3 db 0dh,0ah,'It is not a number!',0dh,0ah,'$'
data ends
code segment
...
分类:
其他好文 时间:
2014-05-09 01:34:35
阅读次数:
350
data segment
string1 db 'Please input a number:',0dh,0ah,'$'
string2 db 0dh,0ah,'It is a number!',0dh,0ah,'$'
string3 db 0dh,0ah,'It is not a number!',0dh,0ah,'$'
data ends
code segment
...
分类:
其他好文 时间:
2014-05-09 01:18:43
阅读次数:
316
Football
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 2667
Accepted: 1361
Description
Consider a single-elimination football tournament involving 2n...
分类:
其他好文 时间:
2014-05-09 01:12:00
阅读次数:
311
参考文档:http://blog.csdn.net/xiaodan007/article/details/7096718function sz_T2S(_t)
local szRet = "{" function doT2S(_i, _v) if "number" == t...
分类:
其他好文 时间:
2014-05-08 22:47:29
阅读次数:
347
function OnFirstUIAfter() STRING szTitle,
szMsg1, szMsg2, szOpt1, szOpt2; NUMBER bOpt1,
bOpt2;begin Disable(STATUSEX); bOpt1 = FALSE; bOpt2...
分类:
其他好文 时间:
2014-05-08 22:40:38
阅读次数:
675
划分树模板题,敲上模板就ok了。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define MP make_pair
#define LL long long
#define CLR(a, b) memset(a, b, sizeof(a))
using n...
分类:
其他好文 时间:
2014-05-08 17:29:39
阅读次数:
398
使用VLD测有没内存泄露的时候,出现(File and line number not available): (Function name unavailable)
查看VS控制台,发现
已加载“C:/WINDOWS/system32/dbghelp.dll”
说明VS加载了WINDOWS的dll而不是最新的VLD的dbghelp.dll
解决方案:
只需把VLD 安装路径下...
分类:
其他好文 时间:
2014-05-08 15:41:04
阅读次数:
354