#vim:tabstop=4shiftwidth=4softtabstop=4
#Copyright2010UnitedStatesGovernmentasrepresentedbythe
#AdministratoroftheNationalAeronauticsandSpaceAdministration.
#Copyright2011JustinSantaBarbara
#AllRightsReserved.
#Copyright(c)2010CitrixSystems,Inc.
#
#Licensed..
分类:
数据库 时间:
2014-05-27 04:03:25
阅读次数:
626
#!/bin/bash
process=8
PWD=`pwd`
DAT=`date`
ftpip="192.168.1.1"
user="ftp_username"
password="ftp_password"
local_dir="/home/"
getlist()
{
ftp-n$ftpip<<EOF|awk‘{print$9}‘|sed‘/^$/d‘>$PWD/list
user$user$password
cdfile/
dir
bye
EOF
}
copy()
{
if[-f$P..
分类:
系统相关 时间:
2014-05-27 03:55:34
阅读次数:
378
1.
题目:以9行9列的形式显示九九乘法表2.要求:显示下三角格式如表4.1所示,也可以上三角格式显示。 1 ; Example assembly language
program -- 2 ; Author: Karllen 3 ; Date: revised 05/2014 4 5 ....
分类:
编程语言 时间:
2014-05-23 09:04:43
阅读次数:
304
Football Score
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 2579 Accepted Submission(s): 729
Problem Description
Football is on...
分类:
其他好文 时间:
2014-05-22 12:45:13
阅读次数:
291
好吧题目很简单,但是有些细节还是挺有意思的。题目是:计算今年是否是闰年,判断闰年条件,满足年份模400为0,或者模4为0但是模100不为0答案是这样的:import time
#计算今年是否是闰年,判断闰年条件,满足年份模400为0,或者模4为0但是模100不为0
thisyear = time.localtime()[0] #获取年份
if thisyear%400==0 or this...
分类:
编程语言 时间:
2014-05-22 11:30:26
阅读次数:
326
题目链接:
点击打开链接
题目:
ACboy needs your help
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 3741 Accepted Submission(s): 1935
P...
分类:
其他好文 时间:
2014-05-22 10:56:10
阅读次数:
249
Saruman's Army
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 3519
Accepted: 1787
Description
Saruman the White must lead his army along a straight path...
分类:
其他好文 时间:
2014-05-22 10:09:49
阅读次数:
271
Fence Repair
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 24153
Accepted: 7703
Description
Farmer John wants to repair a small length of the fence aroun...
分类:
其他好文 时间:
2014-05-22 07:55:44
阅读次数:
255
常量对象与常量成员函数来防止修改对象,实现最低权限原则。可以用关键字const来指定对象是不可修改的,任何修改该对象的企图,都会导致编译错误。例如:constTimenoon(12,0,0);声明一个Time类的常量对象noon,并将它初始化为中午12点。C++不允许在常量对象上调用成员函数,除非成...
分类:
其他好文 时间:
2014-05-22 06:39:25
阅读次数:
229
@author作者@brief摘要@version版本号@date日期@file文件名,可以默认为空,DoxyGen会自己加@class类名@param函数参数@return函数返回值描述@exception函数抛异常描述@warning函数使用中需要注意的地方@remarks备注@seeseealso字段@notebrief下空一行后的内容表示详细描述,但..
分类:
其他好文 时间:
2014-05-20 22:38:54
阅读次数:
319