题目来源:URAL 1439. Battle with You-Know-Who
题意:开始有数列1, 2, 3, ... L k输出第k大的数 D k删除第k大的数
思路:treap树插入删除的数 每次二分查找第k大的数为mid 查询treap小于等于mid的数有y个 那么mid应该是第mid-y大的数 与k比较 继续二分
#include
#include
#include
#in...
分类:
其他好文 时间:
2014-09-02 15:58:14
阅读次数:
214
源码ex6-2.rb :types_of_people = 10x = "There are #{types_of_people} types of people." binary = "binary"do_not = "don't"y = "Those who know '#{binary}...
分类:
其他好文 时间:
2014-09-01 17:32:43
阅读次数:
171
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains ...
分类:
其他好文 时间:
2014-08-31 22:46:42
阅读次数:
354
W(1) User Commands W(1)NAME w - Show who is logged on and what they are doing.SYNOPSIS w [options] user [...]DESCRIPTION w displays information about ...
分类:
系统相关 时间:
2014-08-30 09:55:39
阅读次数:
260
(一)whoami 是一个相当简单的命令(二)`who': Print who is currently logged in============================================`who' prints information about users who are...
分类:
系统相关 时间:
2014-08-29 21:14:59
阅读次数:
310
wwhowhoamilast:显示/var/log/wtmp文件,显示用户登录历史以及系统重启历史-n:显示最近N次的相关信息lastb:/var/log/btmp文件,显示用户错误的登录尝试历史-n:lastlog:显示每一个用户最近一次的成功登录信息-uUSERNAME:显示特定用户最近的登录信息basename$0:取名字不显..
分类:
系统相关 时间:
2014-08-29 16:16:48
阅读次数:
213
EBS 组织架构:
(一)业务组(BG)
(二)法律实体(LE)
(三)业务实体(OU)
(四)库存组织(INV)
(五)公司成本中心(Cost Center)
(六)HR组织
(七)多组织接入控制
Sale Order 销售订单 的 Ship Confirm 发运功能模块:
在做状态变化时候要记得对WHO字段进行状态的修改。
必要表的信息:...
分类:
其他好文 时间:
2014-08-28 18:14:15
阅读次数:
401
1096. Get the Right Route Plate!
Time limit: 1.0 second
Memory limit: 64 MB
Everybody who had ridden a Ekaterinburg bus could notice that on the inner side of the plate with the number of t...
分类:
其他好文 时间:
2014-08-28 09:43:49
阅读次数:
331
Who's in the Middle
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 9411 Accepted Submission(s): 4538
Problem Description
FJ is ...
分类:
其他好文 时间:
2014-08-27 23:33:18
阅读次数:
435
用户:useradd,userdel,usermod,passwd,groupadd,talk,write,id,who,whoami,users文件权限:chown,chmod,touch(修改文件日期),ftp,文件处理:find,grep,wc,ln磁盘:df(硬盘容量),du(硬盘使用量).防火墙:ifconfig,netstart(路由),iptable,chkconfig系统默认配置:date,ca..
分类:
其他好文 时间:
2014-08-27 02:47:37
阅读次数:
226