类 1 using System; 2 namespace bin 3 { 4 public
class Doctor 5 { 6 public Doctor(){} 7 public Doctor(string name,byte age) 8 { 9
...
分类:
其他好文 时间:
2014-05-09 10:29:26
阅读次数:
218
CommandActionNotesvim file +54open file and go to
line 54any : command can be run using + on command linevim -O file1 file2open
file1 and file2 side b...
分类:
其他好文 时间:
2014-05-09 10:15:18
阅读次数:
420
C#2.0 使用委托推断扩展委托的语法下面是示例
一个货币结构代理的方法可以是实例的方法,也可以是静态方法,声明方法不同实例方法可以使用委托推断,静态方法不可以用示例代码:/* * C#2.0
使用委托推断扩展委托的语法 * 下面是示例 一个货币结构 */using System;using S.....
分类:
其他好文 时间:
2014-05-09 10:05:12
阅读次数:
282
第七章 代理(1)一、代理要声明二、代理使用步骤声明代理初始化代理(使用 实例的方法名
作为参数)使用代理代码示例:/*C7.1.2*/using System;using System.Collections.Generic;using
System.Linq;using System.Text;...
分类:
其他好文 时间:
2014-05-09 10:03:41
阅读次数:
449
题目来源: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
/*
* uva575
* Date:2014/5/7
* State: AC
*/
#include
#include
#include
#include
#include
using namespace std;
const int MAXN=34;
char Arr[MAXN];
int main()
{
//cout << "Hello world!" << end...
分类:
其他好文 时间:
2014-05-09 02:25:56
阅读次数:
269
题意:求长度不超过K的最大的连续序列的和
思路:采用单调队列,我们要求的是Max{sum[i]-sum[j]}(i-j#include
#include
#include
#include
using namespace std;
const int MAXN = 1000005;
const int INF = 0x3f3f3f3f;
int n,k;
int arr[MAXN],s...
分类:
其他好文 时间:
2014-05-09 01:57:07
阅读次数:
264
最近在看编程之美,看到第一个问题时,一下子就被吸引了,原来在windows 的任务管理器中还可以让CPU舞动起来,再一次的相信了编程中只有想不到没有做不到,对于书中的做法和网上的实现大致都相同,不过在看后面的解法之前,我的解法和书中第一种简单的控制之法相同,而且我还引入了一个实时监测CPU主频的函数,可以移植到其他的PC上。
#include
#include
using namespac...
分类:
其他好文 时间:
2014-05-09 01:47:25
阅读次数:
286
通过excel进行快速开发报表:
建设思路:
1.首先制订相关的execl模板。
2.通过etl工具(kettle)可以快速的
将数据库中的数据按excel模板导出成新的excel即可。
其中kettle 按excel模板导出excel 可以参考:
http://type-exit.org/adventures-with-open-source-bi/2010/12/using...
分类:
其他好文 时间:
2014-05-09 01:22:42
阅读次数:
311
/*
* uva10879
* Date:2014/5/7
* State:AC
*/
#include
#include
using namespace std;
int main()
{
//cout << "Hello world!" <>N;
...
分类:
其他好文 时间:
2014-05-09 00:30:58
阅读次数:
287