摘要:
Balls RearrangementTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 344Accepted Submission(s): 165 Problem Description Bob has N balls and A boxes. He numbers the balls from 0 to N-1, and numbers the boxes from 0 to A-1. To find the balls ... 阅读全文
posted @ 2013-09-10 20:43
Class Xman
阅读(134)
评论(0)
推荐(0)
摘要:
将对这四种数据库的操作封装到了2个类中可以拷贝过去直接使用。 public sealed class OleDbClass { #region private utility methods & constructors //Since this class provides only static methods, make the default constructor private to prevent //instances from being created with "new SqlHelper()". pri... 阅读全文
posted @ 2013-09-10 20:41
Class Xman
阅读(220)
评论(0)
推荐(0)
摘要:
UNDO_RETENTION The undo_retention is a initialization parameter of the undo tablespace. The initialization parameter of undo_retention used to control the maximum data retention time, the undo_retention default value is 900 seconds. The undo_retention is a parameter in the spfile.ora initialization. 阅读全文
posted @ 2013-09-10 20:38
Class Xman
阅读(281)
评论(0)
推荐(0)
摘要:
修改的文件有packet.h、cmu-trace.cc、priqueue.cc、ns-packet.tcl、Makefile 1、在 $HOME/ns-allinone-2.29/ns-2.29下新建gpsr文件夹,并将GPSR-KeLiu中的 gpsr_packet.h,gpsr_neighbor.h,gpsr_neighbor.cc,gpsr.h,gpsr.cc,gpsr.tcl, wireless-gpsr.tcl,gpsr_sinklist.h, gpsr-sinklist.cc,grid_deploy10x10.tcl,cbr100.tcl加入刚新建的gpsr文件夹中。 2、... 阅读全文
posted @ 2013-09-10 20:36
Class Xman
阅读(738)
评论(0)
推荐(0)
摘要:
public class IniOperation { private static string iniFilePath; //ini文件的路径 const int MAXENTRY = 500000; //最大缓冲值500*1000字节 public IniOperation(string strIniFileName) { if (strIniFileName.Substring(2, 1) == "\\")//如果输入的为路径+Iin文件名,使用正则表达式会比较好一点... 阅读全文
posted @ 2013-09-10 20:34
Class Xman
阅读(291)
评论(0)
推荐(0)
摘要:
1、面向对象的特征有哪些方面 1.抽象: 抽象就是忽略一个主题中与当前目标无关的那些方面,以便更充分地注意与当前目标有关的方面。抽象并不打算了解全部问题,而只是选择其中的一部分,暂时不用部分细节。抽象包括两个方面,一是过程抽象,二是数据抽象。 2.继承: 继承是一种联结类的层次模型,并且允许和鼓励类的重用,它提供了一种明确表述共性的方法。对象的一个新类可以从现有的类中派生,这个过程称为类继承。新类继承了原始类的特性,新类称为原始类的派生类(子类),而原始类称为新类的基类(父类)。派生类可以从它的基类那里继承方法和实例变量,并且类可以修改或增加新的方法使之更适合特殊的需要。 3.封装: 封装是. 阅读全文
posted @ 2013-09-10 20:32
Class Xman
阅读(376)
评论(0)
推荐(0)
摘要:
1、准备好cygwin或者gitbash(github下载)2、进入进入https://android.googlesource.com/,搜索skia,进入。3、进入后最上面会显示下载方法:git clone https://android.googlesource.com/platform/external/skia4、在shell中执行上述命令,不过会包错误:SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFI 阅读全文
posted @ 2013-09-10 20:30
Class Xman
阅读(378)
评论(0)
推荐(0)
摘要:
KM算法是基于匈牙利算法求最大或最小权值的完备匹配关于KM不知道看了多久,每次都不能完全理解,今天花了很久的时间做个总结,归纳以及结合别人的总结给出自己的理解,希望自己以后来看能一目了然,也希望对刚学习KM算法的人有帮助,这里结合一个模板题,以及 图形解说,更加明了对于这里给出 一:基本概念 二:算法原理和语言描述 三:结合图形理解KM算法过程一.首先给出一些摘要知识点以及算法的语言描述(如果前面看过前辈们的,只是对于算法过程不了解的可以直接看后面结合图形的算法详细解说,这里归纳个人觉得对于一个小白学习有用的知识点)首先KM算法的正确性基于以下定理:若由二分图中所有满足A[ i ]+B[j]= 阅读全文
posted @ 2013-09-10 20:27
Class Xman
阅读(310)
评论(0)
推荐(0)
摘要:
一.无法向模拟器push文件,显示read-only file system$adb shell mount -o remount rw/确保模拟器有sd卡 二.Android模拟按键#adb shell input keyevent %key_num%常用 Home:3,Power:26 三.ListView滑动变黑设置android:cacheColorHint="#00000000" => 透明 四.打包userdata.img用到的工具:make_ext4fs,simg2img,mkuserimg.sh1.解压userdata.img$sudo ./simg2 阅读全文
posted @ 2013-09-10 20:24
Class Xman
阅读(215)
评论(0)
推荐(0)
摘要:
linux环境下,将mongodb迁移到同机器,不同端口上。 命令参数:[mongodb@pera bin]$./mongodump --help Export MongoDB data to BSON files. options: --help produce help message -v [ --verbose ] be more verbose (include multiple times for more verbosity e.g. -vvvvv) --version print the program's v... 阅读全文
posted @ 2013-09-10 20:22
Class Xman
阅读(417)
评论(0)
推荐(0)

浙公网安备 33010602011771号