码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
插入排序
模块1:线性扫描,试图将每个a[i]插入到前面的有序序列中。模块2:[0, i]的无序区间进行扫描,找出插入的位置,该位置使得插入的瞬间:[0, k]区间有序,而[k+1, i]区间无序,所以插入点在k+1。#include #include using namespace std;template...
分类:编程语言   时间:2016-01-23 22:49:21    阅读次数:217
基本二叉树的实现
废话不说,直接看代码:BTree.h#pragma once#include using namespace std;struct BTNode{ int data; BTNode *lchlid, *rchild;};class BTree{public: BTree(); ...
分类:其他好文   时间:2016-01-23 21:40:41    阅读次数:169
HDU 2601
题意:给出一个n求出n=i*j+i+j共有几种组合,i,j>0. 开始挺傻的、没想到化成因式的乘积、- - 、思路:i*j+i+j=(i+1)*(j+1)=n+1 1 #include 2 #include 3 using namespace std; 4 int main() 5 { ...
分类:其他好文   时间:2016-01-23 21:36:32    阅读次数:142
事件的示例解说
1 using System; 2 3 namespace ConsoleApplication7 4 { 5 class Program 6 { 7 static void Main(string[] args) 8 { 9 ...
分类:其他好文   时间:2016-01-23 21:24:32    阅读次数:156
npoi读写excel
npoi读取excel方法:首先下载:npoi.dll添加引用://读写excel需要的组建using NPOI.HPSF;using NPOI.HSSF.UserModel;using NPOI.POIFS.FileSystem;using NPOI.HSSF.Util;using NPOI.SS...
分类:其他好文   时间:2016-01-23 21:04:15    阅读次数:136
1.1.4 Broken Necklace
You have a necklace of N red, white, or blue beads (3 2 #include 3 #include 4 #include 5 #define maxn 1111 6 using namespace std; 7 int c; 8 char s...
分类:其他好文   时间:2016-01-23 18:28:50    阅读次数:135
ASP.NET Core 1.0 部署 HTTPS (.NET Framework 4.5.1)
ASP.NET Core 1.0 部署 HTTPS (.NET Framework 4.5.1)¶警告您当前查看的页面是未经授权的转载! 如果当前版本排版错误,请前往查看最新版本:http://www.cnblogs.com/qin-nz/p/aspnetcore-using-https-on-dn...
分类:Web程序   时间:2016-01-23 18:25:57    阅读次数:1814
Uva 10340.All in All
哎~这题没什么要注意的吧。。。注意数组别开太小就行然后往下比较下去……十分钟就能撸完吧 1 #include 2 using namespace std; 3 4 #define REP(n) for(int o=0;o<n;o++) 5 6 bool Do(); 7 8 int main(...
分类:其他好文   时间:2016-01-23 12:48:57    阅读次数:140
MysqlHelper类
using System;using System;using System.Collections;using System.Collections.Specialized;using System.Data;using MySql.Data.MySqlClient;using System.Co...
分类:数据库   时间:2016-01-23 10:20:31    阅读次数:248
服务器端cs文件
服务器端向mysql数据库写数据using System;using Newtonsoft.Json;using Newtonsoft.Json.Linq;using System.Collections.Generic;using System.Linq;using System.Web;usin...
分类:其他好文   时间:2016-01-23 07:52:04    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!