Symptoms The command "opatch lsinventory" reports the error: OUI-67076:OracleHomeInventory was not able to create a lock file, probably due to a failed OPatch Session. The loaded inventory might not ...
分类:
数据库 时间:
2014-08-14 14:08:18
阅读次数:
398
1、js数字格式化/*** 格式化数字* formatNumber(12345.999,'#,##0.00')* formatNumber(12345.999,'#,##0.##')* formatNumber(123,'000000');* @param num* @param pattern*/...
分类:
其他好文 时间:
2014-08-14 13:55:08
阅读次数:
176
> which.max(apply(x[c("x1","x2","x3")], 1, sum))49> x$num[which.max(apply(x[c("x1","x2","x3")], 1, sum))][1] 2005138149> hist(x$x1)> plot(x$x1,x$x2)> ...
分类:
其他好文 时间:
2014-08-14 01:15:17
阅读次数:
197
??
冒泡,快排都是常见的排序方法,这里介绍用头文件中的qsort函数排序。不过自己要先一个cmp函数。
#include//qsort的头文件
int a[100]={0,2,4,1,5,7,3,8,9}; //要排序的数组
struct Person//要排序的结构体
{
char num[20];
char name[100];
int score;
int sum;
}man...
分类:
其他好文 时间:
2014-08-13 22:39:27
阅读次数:
330
对查询进行优化,要尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描select id from t where num is null最好不要给数据库留NULL...
分类:
数据库 时间:
2014-08-13 22:12:37
阅读次数:
267
状态压缩DP的一道较不错的入门题,第二次做这类问题,感觉不是很顺手,故记录下来.题目的意思就是吕布战群雄,先给你6个数,分别是吕布的攻击值,防御值,生命值,升级后此三值各自的增量,然后是对手的个数num,接下来是各个对手的名字,攻击值,防御值,生命值,及经验值,规定当吕布经验值每提升100,则攻击....
分类:
其他好文 时间:
2014-08-13 18:44:06
阅读次数:
181
http://acm.tju.edu.cn/toj/showp4095.html题意:N个物品,N 2 #include 3 #include 4 using namespace std; 5 6 struct arr{ 7 int num; 8 long long...
分类:
其他好文 时间:
2014-08-13 17:41:46
阅读次数:
230
public string CmycurD(decimal num) { string str1 = "零壹贰叁肆伍陆柒捌玖"; //0-9所对应的汉字 string str2 = "万仟佰拾亿仟佰拾万仟佰拾元角分"; //数字位所对应的汉字 ...
分类:
其他好文 时间:
2014-08-13 17:33:26
阅读次数:
189
系统出现只读实例一报错:serversshdrestarttouch:createing‘/var/lock/subsys/sshd‘:Read-onlyfilesystem查询系统文件损坏dmesg|greperrorhdb:packetcommanderror:status=0x51{DriveReadySeekCompleteError}hdb:packetcommanderror:error=0x54修复系统文件fsck/var-y给全目录添..
分类:
其他好文 时间:
2014-08-13 15:25:27
阅读次数:
165
执行apachectlstart时,error_log报错如下:[warn]pidfile/usr/local/zend/apache2/logs/httpd.pidoverwritten--UncleanshutdownofpreviousApacherun?
[emerg](28)Nospaceleftondevice:Couldn‘tcreateacceptlock(/usr/local/zend/apache2/logs/accept.lock.11056)(5)如果启动ap..
分类:
其他好文 时间:
2014-08-13 15:21:17
阅读次数:
197