题目描述Given a number sequence whose length is n, you
can delete at most k numbers in the sequence.After that you are asked to answer
the maximum length ...
分类:
其他好文 时间:
2014-05-19 22:21:32
阅读次数:
304
题目描述After the hard tasks, It’s the easy time for
Y.G.Tobor and Y.D.I.Isha is a friend of Y.D.I, as he thinks Tobor is smart too,
he give Tobor a probl...
分类:
其他好文 时间:
2014-05-17 15:20:34
阅读次数:
248
【题目】
原文:
1.8 Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a rotation of s1 using only one...
分类:
其他好文 时间:
2014-05-16 01:50:08
阅读次数:
311
【题目】
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:
其他好文 时间:
2014-05-16 01:32:47
阅读次数:
406
AIX 中添加账号可以使用命令mkuser 和 SMIT 两种方式,这里介绍SMIT方式
1、使用root 账号登录AIX
2、输入 smitty user
3、选择Add a User
4、输入"User Name" "HOME directory" 按回车创建用户
输入 #finger test 可以查看用户创建情况
5、 为新创建的用户...
分类:
Web程序 时间:
2014-05-15 22:56:44
阅读次数:
485
svn st | awk '{if($1=="?"){print$2}}'|xargs svn add...
分类:
其他好文 时间:
2014-05-15 19:45:54
阅读次数:
362
#!/bin/bash
#
Count=0
forUserNamein$@;do
ifid$UserName&>/dev/null;then
echo"$UserNameexists."
else
useradd$UserName
echo"Add$UserNamesuccessfully."
Count=$[$Count+1]
fi
done
echo"Add$Countnewusers."
分类:
其他好文 时间:
2014-05-15 18:52:21
阅读次数:
214
介绍ViewFlipper
ViewFlipper
Simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip betwee...
分类:
其他好文 时间:
2014-05-15 18:37:44
阅读次数:
356
(1)myeclipse→help→Myeclipse configuration
center:点击sofeware选项卡,在Browes Software 下有一个输入框,点击add site按钮:Name输入
Abator,URL输入http://ibatis.apache.org/tools...
分类:
系统相关 时间:
2014-05-15 18:04:50
阅读次数:
437
Given two binary strings, return their sum
(also a binary string).For example, a = "11" b = "1" Return "100".string
的操作,短string补位。两个“0”会输出一个“00”,要特殊处理...
分类:
其他好文 时间:
2014-05-15 17:47:57
阅读次数:
283