1. vs 中新建win32 dll 项目 testdll添加实现文件
test.cpp#include "stdafx.h" #include using namespace std;int Add(int plus1, int
plus2){ int add_result = plus1 ...
分类:
编程语言 时间:
2014-05-19 10:25:52
阅读次数:
309
题目链接:POJ 2828 Buy Tickets【题意】给了你 n(1 7 #include
8 #include 9 using namespace std;10 const int MAX = 200005;11 12 int pos[MAX],
val[MAX], ans[MAX];13.....
分类:
其他好文 时间:
2014-05-19 10:10:34
阅读次数:
282
题目链接:HDU 2795 Billboard【题意】给你一张h*w(1 7 #include
8 #include 9 using namespace std;10 const int MAX = 200005;11 12 int tree[MAX=
val)26 {27 ...
分类:
其他好文 时间:
2014-05-19 10:09:17
阅读次数:
419
1、当有大量数据需要计算、显示在界面或者调用sleep函数时,容易导致界面卡死,可以采用多线程加委托的方法解决using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Data;usi...
分类:
编程语言 时间:
2014-05-19 09:47:53
阅读次数:
340
给定n
k以及n个人已参加的比赛数,让你判断最少还能参加k次比赛的队伍数,每对3人,每个人最多参加5次比赛#include using namespace
std;int main(){ int n,k, cnt = 0; cin >> n >> k; for(int i = 0 ...
分类:
其他好文 时间:
2014-05-19 08:40:56
阅读次数:
239
hdu2222 字符串多模匹配算法 采用kuangbin模板#include #include
#include #include #include using namespace std;struct Trie{ int
next[500010][26],fail[500010],end[5...
分类:
其他好文 时间:
2014-05-19 08:36:17
阅读次数:
234
以下是一个相对简陋的扩展, 主要是针对金额显示的Textbox扩展.using
System;using System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.UI.WebControls;usi...
分类:
Web程序 时间:
2014-05-19 07:34:53
阅读次数:
426
using System.Xml;using System.Xml.Linq;XmlDocument
document = new XmlDocument();document.Load("SessionDef.xml");XmlNodeList
nodelist = document.Select...
分类:
其他好文 时间:
2014-05-19 07:10:10
阅读次数:
227
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Runtime.InteropServices;using
System.IO;namespace Hello...
分类:
其他好文 时间:
2014-05-18 20:16:27
阅读次数:
309
1 #include "windows.h" 2 #include "tlhelp32.h" 3
#include "iostream" 4 using namespace std; 5 6 #pragma
comment(lib,"kernel32.lib") 7 8 DWORD GetKe...