自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Chobits的专栏

人生五十年,與天地長久相較,如夢又似幻;一度得生者,豈有不滅者乎?

  • 博客(6)
  • 资源 (7)
  • 收藏
  • 关注

转载 bwpbo 源代码

wsmdbzdxypbo.IsComplete = bwpbo.IsComplete && DateTime.Now >= DateTime.Now.AddMonths(1);public class bwpbo{ private DateTime nextMonth; public bool IsComplete { get

2013-01-17 21:52:37 699

原创 C++ 大数乘法

http://acm.buaa.edu.cn/problem/163/#include #include using namespace std;#define maxn 2000char c1[999], c2[999];int a[999], b[999];int r[maxn];void print(int a[], int b[], int la, int

2013-01-13 14:00:03 755

原创 插入排序

递归版void insertion_sort(int arr[], int n){ if(n < 2) return; insertion_sort(arr, n - 1); for(int i = 0; i != n - 1; i++) { if(arr[i] > arr[n - 1]) { for(int j = i; j != n - 1; j++)

2013-01-12 09:17:40 592

原创 [排列组合]不少于n个数字组成的数的统计

http://acm.buaa.edu.cn/problem/364/n位数 首位确定从0-9选出2个 填到n-1个格子方法a = 9 * (2 ^ (n - 1) - 2) 种从0-9选出1个 填到n-1个格子方法b = 10 种因此10 ^ n 到 (10 ^ (n + 1) - 1)共有 9 * (a + b) 种以下SB逻辑 我已经不记得怎么想的了.

2013-01-12 08:48:28 1055

原创 二分法搜索

一般方法int bsearch(int arr[], int l, int u, int k){ if(l > u) return -1; int m = (l + u) / 2; if(arr[m] == k) return m; if(arr[m] > k) return bsearch(arr, l, m - 1, k); else return bsearch(arr, m

2013-01-08 10:14:41 646

原创 求约数个数最多问题

求1 - n当中约数个数最多的数,若有多解则输出最小的数。一般解法:从1到n枚举 根据 约数个数定理 公式求出约数个数这需要先求出1到n的所有质数以此来对第i个数分解质因数 质因数变化即 乘以 (上一个质因数个数+1)对于n非常大时候效率很低从图中可以看出 约数最多的数a1. a中较小的质因数个数必定大于等于大一级的质因数个数2. 随着a的递

2013-01-07 13:46:18 1798

asp.net window service

asp.net window service

2014-07-03

asp.net webform for ios(ipa&plist) 测试环境搭建

asp.net webform for ios(ipa&plist) 测试环境搭建

2014-07-01

Pokemon Battle Analyser

Pokemon X and Y Battle Analyzer is a utility that can read enemy team stats and moves from a network stream of Pokemon X or Y. Naturally you will need the ability to analyse the network communications of your 3ds, there are various ways of doing it and the PKX dumping/editing guides are a good place to start. Most will probably host a hotspot on their PC though. Source code (one of the .net family of languages is used) is available.

2013-11-30

C# csv 读取 写出

csv 读取输出 输出有2种:逗号和tab分隔

2013-05-15

C# Socket 仿QQ聊天

C# Socket 仿QQ聊天 含服务器(Server) & 客户端(Client)

2013-03-01

Csv Reader

Csv Reader 快速读取csv格式文件

2012-10-04

VB.NET AStar 算法

非常实用的A*算法源码 用VB.NET实现

2012-09-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除