链接:http://acm.hdu.edu.cn/showproblem.php?pid=1754Time Limit: 9000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3...
分类:
其他好文 时间:
2014-07-13 23:11:52
阅读次数:
267
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2017题目大意:统计数字出现的次数,但是要注意输入字符时,要清流。。要吸收一个回车。还有注意输入时的格式~ 1 #include 2 int main() 3 { 4 int n; 5 c...
分类:
其他好文 时间:
2014-07-13 21:34:06
阅读次数:
191
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2020题目大意:按照绝对值大小从大到小排序,注意输出两个数之间要用空格隔开,在这里引入一个冒泡排序,两个循环即可! 1 #include 2 #include 3 int main () 4 { 5 .....
分类:
其他好文 时间:
2014-07-13 21:05:37
阅读次数:
307
一、进程控制理论基础进程:是一个具有一定独立功能的程序的一次运行活动。程序是静态的,程序在运行的时候是进程。1、进程的特点: 动态性:区别于程序的显著特性 并发性:多个进程可以同时执行 独立性:独立的 异步性:进程与进程之间可以进行异步操作2、进程三态:进程的ID(PID):标志进程的唯一数...
分类:
系统相关 时间:
2014-07-13 20:32:42
阅读次数:
321
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2021题目大意:给老师发工资,找出最少的人民币张数。 1 #include 2 int main () 3 { 4 int a,n,i,sum; 5 while (scanf("%d",...
分类:
其他好文 时间:
2014-07-13 20:30:07
阅读次数:
162
All relative paths in this config are relative to php's install prefix
Pid file
/usr/local/php/logs/php-fpm.pid
Error log file
/usr/local/php/logs/php-fpm.log
Log level
notice
Whe...
分类:
Web程序 时间:
2014-07-13 16:26:05
阅读次数:
248
ifchkconfig--list|grep-sdhcpd&>/dev/nullthenif!servicedhcpdstatus&>/dev/nullthenecho"警告:dhcpd服务没有启动,准备启动"servicedhcpdstartelseecho"监听地址:$(netstat-tuanp|grepdhcp|awk‘{print$4}‘)"echo"进程PID:$(netstat-tuanp|grepdhcp|awk‘{prin..
分类:
其他好文 时间:
2014-07-13 15:22:58
阅读次数:
252
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2018题目大意:数学题,找规律,采用递推方法。a[i]=a[i-1]+a[i-3]。 1 #include 2 int main() 3 { 4 int a[100]={0,1,2,3,4}; 5...
分类:
其他好文 时间:
2014-07-13 13:39:09
阅读次数:
167
myeclipse6.0 下载地址。官方下载地址: http://www.myeclipseide.com/module-htmlpages-display-pid-4.html本地快速下载地址: http://www.rosebush.cn/blog/html/23/t-7423.html htt...
分类:
系统相关 时间:
2014-07-13 12:54:04
阅读次数:
221
标签:01背包hdu2955http://acm.hdu.edu.cn/showproblem.php?pid=2955题意:盗贼抢银行,给出n个银行,每个银行有一定的资金和抢劫后被抓的概率,在给定一个概率P,表示盗贼愿意冒险抢劫所能承受的最大被抓概率。思路:首先用1减去被抓概率,得到安全概率。那抢...
分类:
其他好文 时间:
2014-07-13 12:51:54
阅读次数:
177