Risk management (or more precisely risk avoidance) is a critical topic, but one that is often dull to read about and therefore neglected. One of the f...
分类:
其他好文 时间:
2015-01-08 17:48:30
阅读次数:
282
tanjar求图中的桥,然后排序输出。
代码:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define rep(i,a,b) for(int i=(a);i=(b);i--)
#def...
分类:
其他好文 时间:
2014-12-28 15:37:48
阅读次数:
177
#include "stdafx.h"#include using namespace std;#include #include CRITICAL_SECTION cs;//1.测试同一线程两次EnterCriticalSection会不会阻塞//答案:不会/*int _tmain(int arg...
分类:
编程语言 时间:
2014-12-28 11:39:19
阅读次数:
165
题意:有两种盒子分别装有铀(U)和铅(L),现在把n个盒子排成一列(两种盒子均足够多),而且要求至少有3个铀放在一起,问有多少种排放方法。分析:n个盒子排成一列,共有2n中方案,设其中符合要求的为f(n)种。f(n)可由下面两种情况递推出来:前n-1个盒子的摆放满足要求,则第n个盒子可以摆放U也可以...
分类:
其他好文 时间:
2014-12-22 12:56:47
阅读次数:
140
The loss of which two types of files may require a recovery with
the RESETLOGS option?(Choose two.)
A. control files
B. password file
C. archived log files
D. system-critical data files ...
分类:
数据库 时间:
2014-12-21 22:08:34
阅读次数:
249
微软近期Open的职位:News is a critical areas for integration of mobile and services, one of the top priorities in Microsoft. Microsoft is innovating rapidly t...
分类:
其他好文 时间:
2014-12-16 00:49:02
阅读次数:
200
"""
author:htfang
date:20141215
loggingmodule,usemultiplelogswithoutalogconfigfile
"""
importlogging
fromloggingimport(DEBUG,
CRITICAL,
FATAL,
ERROR,
WARNING,
WARN,
INFO,
DEBUG,
NOTSET)
importsys
classLogBuilder():
"""
asarookie,youneed‘ntknowhowthisbuil..
分类:
编程语言 时间:
2014-12-15 22:11:41
阅读次数:
270
#!/usr/bin/envpython#-*-coding:utf-8-*-importsocket,sysfromoptparseimportOptionParserstat_ok=0stat_warning=1stat_critical=2stat_unknown=3defcheck_port(address,port):s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)s.settimeout(3)try:s.connect((address,port..
分类:
编程语言 时间:
2014-12-15 22:02:17
阅读次数:
610
微软近期Open的职位:News is a critical areas for integration of mobile and services, one of the top priorities in Microsoft. Microsoft is innovating rapidly t...
分类:
其他好文 时间:
2014-12-15 12:05:38
阅读次数:
176
微软近期Open的职位:News is a critical areas for integration of mobile and services, one of the top priorities in Microsoft. Microsoft is innovating rapidly t...
分类:
其他好文 时间:
2014-12-14 00:30:25
阅读次数:
339