1.各种Unix shelllinux下的shell基本是从unix环境中的shell发展而来,贴一下wiki:其中我们常用的,可归类为Bourne Shell(/usr/bin/sh或/bin/sh)、Bourne Again Shell(/bin/bash)、C Shell(/usr/bin/c...
分类:
系统相关 时间:
2014-08-09 21:08:09
阅读次数:
348
Charlie's Change
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 2978
Accepted: 844
Description
Charlie is a driver of Advanced Cargo Movement, Ltd. Charlie ...
分类:
其他好文 时间:
2014-08-09 11:48:57
阅读次数:
358
一、Objectivesdisplay all rows, eliminate duplicate rows, and limit the number of rows displayedsubset rows using other conditional operators and cacula...
分类:
数据库 时间:
2014-08-09 11:20:27
阅读次数:
235
1、绝对值函数
abs()仅对整型求绝对值
对浮点数求绝对值使用fabs()函数。
2、连接字符串函数-----strcat(a,b)
将字符串b连接在字符串a后面
注意:字符串a的大小要足以容纳a+b
3、
void f(int a)
{
int i,j,k;
for(i=1;i*i
fo...
分类:
其他好文 时间:
2014-08-09 09:08:07
阅读次数:
310
先启动两个command line作实验
第一个 command line 依次输入:
bash$ sleep 10001 &
[1] 38272
bash$ job1=$!
bash$ sleep 10002 &
[2] 44316
bash$ job2=$!
bash$ wait $job1 $job2
第二个 command line 依次输入(观察 第一个...
分类:
其他好文 时间:
2014-08-09 04:56:47
阅读次数:
241
1 /* 2 NYOJ 99单词拼接: 3 思路:欧拉回路或者欧拉路的搜索! 4 注意:是有向图的!不要当成无向图,否则在在搜索之前的判断中因为判断有无导致不必要的搜索,以致TLE! 5 有向图的欧拉路:abs(In[i] - Out[i])==1(入度[i] -...
分类:
其他好文 时间:
2014-08-09 02:31:46
阅读次数:
357
--创建 MyCompany数据库use masterexecute sp_configure 'show advanced options',1 --开启权限reconfigureexecute sp_configure 'xp_cmdshell',1reconfigureexecute xp_....
分类:
数据库 时间:
2014-08-08 15:29:16
阅读次数:
286
http://vjudge.net/problem/viewProblem.action?id=51622题目大意:给定一列n个数字,最初赋予值1到n两个操作:1.将区间[l,r]内的数改为x,则这区间中所有数的改变值进行求和,即ans=abs(a[l]-x)+abs[a[l+1]-x).....a...
分类:
其他好文 时间:
2014-08-08 01:39:35
阅读次数:
378
原文地址:http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Advanced-Build-Customization7、 Advanced Build Customization(高级构建定制)7.1 Build o...
分类:
移动开发 时间:
2014-08-07 21:41:10
阅读次数:
469
#!/usr/bin/pythonimporttimeimportosif__name__==‘__main__‘:hwclock_time="".join(os.popen("hwclock--show--utc").read().split("")[0:6])hwclock_timestamp=time.mktime(time.strptime(hwclock_time,‘%a%d%b%Y%I:%M:%S%p‘))os_time=time.time()difference=abs(int(hwclock_..
分类:
其他好文 时间:
2014-08-07 07:34:49
阅读次数:
328