A题:who is the best?
题目地址:HDU 5123
水题。
哈希,然后枚举找最大的,从小的开始找。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;...
分类:
其他好文 时间:
2014-12-01 20:55:53
阅读次数:
295
时间date 显示当前时间time cmd 显示 cmd的运行时间地点locate 根据文件名,迅速找到文件。基于系统构建的索引find 根据各种规则找到文件,更强大,但比较慢whereis cmd 找到命令所在位置人物whoami 显示当前用户名who 显示登陆到系统的用户w 显示登陆用户,以及....
分类:
系统相关 时间:
2014-11-30 22:51:42
阅读次数:
238
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=5123水题一个,直接hash;代码#include#includeint main(void){ int i,j,k,n,t; int a[110]; int hash[110]; ...
分类:
其他好文 时间:
2014-11-30 21:29:29
阅读次数:
187
who is the best?
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768
K (Java/Others)
...
分类:
其他好文 时间:
2014-11-30 09:17:29
阅读次数:
147
12646. ORCHARDConstraintsTime Limit: 3 secs, Memory Limit: 256 MBDescriptionAlex and Bert are brothers who had been working for many years in a big or...
分类:
其他好文 时间:
2014-11-29 14:26:53
阅读次数:
139
# id # 显示当前用户和用户组的 ID
# who # 显示目前登入系统的用户信息
#su 改变使用者身份
[root@localhost/]#su Chenlly
[Chenlly@localhost/]
#cat /etc/passwd 档案结构
root:x:0:0:root:/root:/bin/bash
chenlly:x:1000:1000:chenlly,,...
分类:
系统相关 时间:
2014-11-26 18:56:06
阅读次数:
338
环境说明: 升级之前mac系统安装的是java 7 在eclipse能够正常使用,升级以后无法使用
目的: 删除java 7 回到java6环境 重新配置 eclipse installJre路径的java包
操作如下:
mac下切换到root权限:
topwqp:~ wangqiupeng$ sudo -i
Password:
topwqp:~ root# who...
分类:
编程语言 时间:
2014-11-25 23:32:00
阅读次数:
175
chmod [options] mode files 只能文件属主或特权用户才能使用该功能来改变文件存取模式。mode可以是数字形式或以who opcode permission形式表示。who是可选的,默认是a(所有用户)。只能选择一个opcode(操作码)。可...
分类:
系统相关 时间:
2014-11-25 11:02:44
阅读次数:
236
java 基础8个基本数据类型3个经常犯的错误 char=“程” ;+=; 大整型1个顺序 自然转换 强制转换名字 chardoublebool 是否缺货田字格:1 谁参与 什么时候修改的 创建者 修改者 最后修改者 状态2 who what when where stateif elsefor(a...
分类:
其他好文 时间:
2014-11-24 16:56:02
阅读次数:
155
我从初中开始基本上就是一个英语很烂的人,数理化再好有什么用,工作了,结果发现数理化都没啥用,最有用的还是当年学的最烂的英语。于是在2011年年底开始了学习英语的课程,在学习的过程中,外教经常会放英剧美剧给我们看,看了以后回答问题,讲解,挺有意思的。印象最深刻的就是Neil给我的Doctor Who还...
分类:
其他好文 时间:
2014-11-24 15:09:20
阅读次数:
221