1.Comparator中compare()与Comparable中compareTo()方法的区别 Treeset集合创建对象后, A:如果是空构造,即TreeSet ts = new TreeSet(); ,那么ts.add();,时需要在Student上implements Compa...
分类:
编程语言 时间:
2015-04-08 12:47:59
阅读次数:
791
su:switch userpasswd:ls:list -l:长格式 -h:单位转换 -a:显示所有 -d:显示目录自身属性 -i:index node, inode -r:逆序显示 -R:递归显示pwd:printing working directorycd:change dir...
分类:
系统相关 时间:
2015-04-02 20:31:05
阅读次数:
349
题目链接:点击打开链接
题意:
给出n个点m条无向边的图
开始图里没有边,每次加一条边,然后输出图里欧拉回路的条数。
思路:
We will count the number of ski bases including the base consisted of empty subset of edges (before printing just subtract one)....
分类:
其他好文 时间:
2015-03-18 23:21:31
阅读次数:
233
using System;using System.Collections.Generic;using System.Text;using System.Drawing.Printing;using System.Drawing;using System.Windows.Forms;namespac...
uva 714 Copying BooksBefore the invention of book-printing, it was very hard to make a copy of a book. All the contents had to be re-written by hand by so called scribers. The scriber had been given a...
分类:
其他好文 时间:
2015-03-09 22:32:59
阅读次数:
247
Internet Explorer Internet Explorer 5 Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; WOW64; Trident/4.0; SLCC1) Internet Explorer 6 Mozilla/4.0 (compa...
分类:
其他好文 时间:
2015-03-03 11:38:47
阅读次数:
300
1.用户切换su:switch usersu kevin//半切换,切换到kevin用户,但是不读取kevin用户的配置文件su - kevin//完全切换,执行这个命令的时候表示切换到kevin用户,并且重新读取用户环境相关配置文件clear/*清屏*/2.pwdpwd //printing wo...
分类:
其他好文 时间:
2015-02-28 12:48:14
阅读次数:
563
不仅list是有序集合,set也可以变为有序集合。/** * 给字符串时间的set排序 * @return 有序的set集合 */ public static Set getSort(){ Set st = new TreeSet(new Compa...
分类:
编程语言 时间:
2015-01-24 14:26:09
阅读次数:
237
Demo on bar code printing using SAP Scripts/Smart forms...
分类:
其他好文 时间:
2015-01-08 22:47:07
阅读次数:
940
gcc源代码分析,debug_rtx()函数,利器啊
print-tree.c
#include "config.h"
#include "tree.h"
#include
/* Names of tree components.
Used for printing out the tree and error messages. */
#def...
分类:
其他好文 时间:
2015-01-03 22:29:52
阅读次数:
174