码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
多文件上传简单实现
五一假期后的第一天上班,无聊,做了一个简单的多文件上传,如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using ...
分类:其他好文   时间:2014-05-10 02:11:14    阅读次数:387
HDU 3032 Nim or not Nim?(sg函数)
题目链接暴力出来,竟然眼花了以为sg(i) = i啊....看表要认真啊!!!#include #include #include using namespace std;#define LL __int64int dp[10001];int sg(int x){ int flag[10001...
分类:其他好文   时间:2014-05-09 18:00:34    阅读次数:274
寻找最大的K个数(下)
接着昨天的写,里面的代码包含昨天的 1 #include 2 using namespace std; 3 #define N 50 4 5 //初始化数组 6 int a[] = {6, 2, 3, 4, 4, 3, 1, 2, 4, 4}; 7 //int a[] = {10,...
分类:其他好文   时间:2014-05-09 17:38:03    阅读次数:379
CentOS系统环境下安装MongoDB
原因:因为工作需要,集中管理log4j日志到MongoDB!进入MongoDB下载中心:http://www.mongodb.org/downloadsWe recommend using these binary distributions (官方推荐使用二进制版本!)根据自己的实际系统环境,下载...
分类:数据库   时间:2014-05-09 16:35:35    阅读次数:393
DevExpress.XtraReports.UI.XtraReport 动态报表
原文:DevExpress.XtraReports.UI.XtraReport 动态报表using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.D...
分类:其他好文   时间:2014-05-09 11:39:38    阅读次数:611
C#将数据库导出成Excel,再从Excel导入到数据库中。
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.SqlClient;using System.IO;namespace CindyDatabaseP...
分类:数据库   时间:2014-05-09 11:37:48    阅读次数:378
数据结构-冒泡排序
#include using namespace std;void BubbleSort(int* a,int n){ for(size_t i=0;i a[j+1]){ int tmp = a[j]; a[j] = a[j+1]; ...
分类:其他好文   时间:2014-05-08 21:59:19    阅读次数:264
hdu 1598 find the most comfortable road
http://acm.hdu.edu.cn/showproblem.php?pid=1598 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 const int inf=1<<30; 7...
分类:其他好文   时间:2014-05-05 10:53:38    阅读次数:344
hdu 1599 find the mincost route
http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd找最小环。 1 #include 2 #include 3 #include 4 #define maxn 200 5 using namespace std; 6 const int inf...
分类:其他好文   时间:2014-05-05 10:52:15    阅读次数:315
createprocess并行运算
#include "stdafx.h"#include "windows.h"#include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ STARTUPINFO si; PROCESS_INFORMATION...
分类:其他好文   时间:2014-05-05 10:31:18    阅读次数:412
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!