http://poj.org/problem?id=1426DescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representatio...
分类:
其他好文 时间:
2014-09-18 20:27:14
阅读次数:
244
object IntervalTree1 extends App{ val score = Array(1, 2, 3, 4, 5) val commands = Array( "Q 1 5", "U 3 6", "Q 3 4", "Q 4 5", "U 2 ...
分类:
其他好文 时间:
2014-09-18 18:09:24
阅读次数:
278
InstallingMultipleVersionsofMySQLAswithanyRDBMS,therearecircumstancesinwhichyouneedtorunmultiple,differingversionsonthesameserver.ThispostsreviewsmypreferredwayofaccomplishingthisforMySQLonLinux.Theserverinquestionalreadyhasaprevious4.X.XversionofMySQL.Rath..
分类:
数据库 时间:
2014-09-18 03:14:14
阅读次数:
263
挺简单的,Citrix带了PowerShell模块,虽然用起来有些莫名其妙的报错……这次场景需求是每天定时结束掉除了某个用户之外的其他用户打开的XASession,logoff+SessionID没法判断用户名。一查powershell模块果然有Snapin。脚本如下:Add-PSSnapin"Citrix.XenApp.Commands"
Get-XAS..
分类:
移动开发 时间:
2014-09-18 03:09:43
阅读次数:
355
Winpdb is a platform independent graphical GPL Python debugger with support for remote debugging over a network, multiple threads, namespace modificat...
分类:
数据库 时间:
2014-09-17 18:36:24
阅读次数:
339
BFS.....
Yet Another Multiple Problem
Time Limit: 40000/20000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 3307 Accepted Submission(s): 806
Probl...
分类:
其他好文 时间:
2014-09-16 23:47:21
阅读次数:
428
awk命令的格式:awk[options]‘awk-script‘input-file...options:-F:指定Fieldseparator域分隔符-f:指定awk-script文件名awk-script:指定awk命令input-file:指定awk输入文件awk-script的结构:由BEGIN,body,END三部分组成BEGIN格式:BEGIN{awk-commands}用于打印表头初始化变量..
分类:
其他好文 时间:
2014-09-16 16:11:21
阅读次数:
208
init.rc由许多的Action和Service组成。每一个语句占据一行,并且各个关键字被空格分开.由 # (前面允许有空格)开始的行都是注释行(comment)一个actions 或 services 的开始隐含声明了一个新的段,所有commands 或 options 属于最近的声明。在第一个...
分类:
移动开发 时间:
2014-09-16 12:27:50
阅读次数:
236
sed[options]sed-commandsinput-fileoptions:-n:静默模式,不输出模式空间中的内容-escript–escript:指定多个脚本命令-fscript_file:指定脚本文件-i:直接编辑原文件-r:使用扩展的正则表达式sed-commands:d:删除p:打印i\text:在模式匹配行的前面插入a\text:在模式匹配行的后?.
分类:
其他好文 时间:
2014-09-15 19:38:50
阅读次数:
173
C++中map容器提供一个键值对容器,map与multimap差别仅仅在于multiple允许一个键对应多个值。
一、map的说明
1 头文件
#include
2 定义
map my_Map;
或者是typedef map MY_MAP;
MY_MAP my_Map;
3 插入...
分类:
其他好文 时间:
2014-09-13 07:15:15
阅读次数:
189