- 博客(135)
- 收藏
- 关注
原创 Linux 基本操作练习
1.创建组、用户groupadd manageruseradd -G manageruseradd -G manager natashauseradd -s /bin/nologin hashaqi2.拷贝文件cp /etc/fstab /var/tmp/fstabcat /var/tmp/fstab设置fstab的所属用户chown harry /var/
2015-06-24 17:56:53
877
原创 想写一本书
前言:虽然离考研只剩下186天,但一路走来,似乎不像当初开始的时候那么痛苦了。每天都去图书馆,一坐至少是3h。看英语视频,记单词,做阅读,求极限,算微积分……有时候遇到不会做的题,真的很头疼。身边为什么没有个“蓝胖子”,给我块记忆面包,或者赐我一个数学大神也好。但这些都只能是一瞬间的想象而已,回到现实,还是要继续查看参考答案。可以说,刚开始,考研的目标很明确,就是要提升
2015-06-23 10:31:14
804
1
原创 Shell 编程
!!!!!!!!!!!!!!!!注意空格不可以随便用额,会恶心屎你的。。。**************************************如何计算传递进来的参数 ? $# ***************************如何在脚本中获取脚本名称 ? $0 *********************************
2015-06-16 17:00:33
579
原创 redhat 下基本命令和php、ftp服务
yum仓库的配置cd /etc/yum.repos.dvi aa.repo //配置文件代码[aa]name=aabaseurl=file:///mnt/abcgpgcheck=0enable=1登录 用户名和密码root123456mount /dev/cdrom /mnt/cdrom //挂载光驱yum lis
2015-06-16 15:34:19
928
原创 oracle 基本操作练习——简单的sql语句
一.在scott模式下,查询scott模式拥有的数据表。select * from tab;二.以下检索均在scott模式下 1.查询dept和salgrade表的所有记录。select * from dept;select * from salgrade; 2.查询emp表中员工编号,员工名称和职位列。select empno,ename,job fr
2015-06-16 11:24:43
2177
原创 PHP 较全面的mysql.class.php
class mysql { private $db_host; //数据库主机 private $db_user; //数据库用户名 private $db_pwd; //数据库用户名密码 private $db_database; //数据库名 private $conn; //数据库连接标识; private $result; //执
2015-05-03 18:46:08
1250
原创 C++ Primer 4 Edition 中的Sales_item.h文件
#ifndef SALESITEM_H#define SALESITEM_H#include #include class Sales_item{public:Sales_item(const std::string &book):isbn(book),units_sold(0),revenue(0.0){}Sales_item(std::istream &is
2015-03-29 18:40:29
852
原创 win7 asp环境搭建和调试很不错的图文讲解 好东西分享一下啦
链接:点击打开链接asp环境搭建的基本步骤:IIS安装->配置->测试环境是否成功1. IIS安装: win7下iis的安装和xp下有些不一样的,还是直接看图吧asp环境搭建及其调试" title="Win7 asp环境搭建及其调试" height="362" width="690">asp环境搭建及其调试" title="Win7 asp环境搭建及其调试" heigh
2015-01-16 10:06:45
2357
原创 Acdream 1669 数一的偶像(大数开平方)
题目链接:http://acdream.info/problem?pid=1669Problem Description 数一有一个偶像,他叫高斯,没错,就是那个不用循环语句就会计算1+2+3+...+100的小学生,数一对高斯简直是盲目的崇拜,最喜欢的定理是高斯定理,最喜欢的函数是高斯函数,当然高斯发明了很多很多函数,也有很多很多定理,但是数一最爱的是f(x)=[x
2014-11-13 15:44:24
1965
原创 hdu 4004 The Frog's Games(二分最小化最大值)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4004
2014-11-09 17:59:01
1053
原创 poj 3111 K Best && poj 2976(最大化平均值)
题目链接:http://poj.org/problem?id=3111DescriptionDemy has n jewels. Each of her jewels has some value vi and weightwi.Since her husband John got broke after recent financial crises, Demy ha
2014-11-08 13:23:01
728
原创 poj 3258 River Hopscotch && poj 2456 Aggressive cows(最大化最小值)
题目链接:http://poj.org/problem?id=3258DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The ex
2014-11-08 13:14:57
679
原创 poj 1064 Cable master(二分水)
题目链接:http://poj.org/problem?id=1064题意:给你n条绳子,长度分别为li
2014-11-08 13:09:49
672
原创 poj 2096 Collecting Bugs 概率DP求期望(简单)
题目链接:http://poj.org/problem?id=2096DescriptionIvan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he collects software bugs. When Ivan get
2014-10-22 08:14:30
789
原创 hdu 1711 Number Sequence KMP(水)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1711
2014-10-15 08:13:30
649
原创 hdu 5047 Sawtooth 折线分割平面 2014 ACM/ICPC Asia Regional Shanghai Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5047
2014-09-29 13:00:15
718
原创 hdu 5050 Divided Land 大数求GCD 2014 ACM/ICPC Asia Regional Shanghai Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5050Problem DescriptionIt’s time to fight the local despots and redistribute the land. There is a rectangular piece of land granted from the gove
2014-09-28 14:15:24
886
原创 hdu 5050 Divided Land 大数求GCD 2014 ACM/ICPC Asia Regional Shanghai Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5050
2014-09-28 10:24:38
806
原创 hdu 5053 the Sum of Cube 水题 2014 ACM/ICPC Asia Regional Shanghai Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5053
2014-09-28 10:14:43
692
原创 hdu 5035 Delivery 概率题 2014 ACM/ICPC Asia Regional Beijing Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5035Problem DescriptionToday, Matt goes to delivery a package to Ted. When he arrives at the post office, he finds there are N clerks numbered fr
2014-09-22 16:03:37
957
原创 hdu 5038 Grade 简单题 2014 ACM/ICPC Asia Regional Beijing Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5038
2014-09-22 14:32:39
908
原创 zoj 3811 Untrusted Patrol 图论 The 2014 ACM-ICPC Asia Mudanjiang Regional First Round
Edward is a rich man. He owns a large factory for health drink production. As a matter of course, there is a large warehouse in the factory.To ensure the safety of drinks, Edward hired a security ma
2014-09-18 08:52:21
1889
原创 hdu 5015 233 Matrix 矩阵快速幂 2014 ACM/ICPC Asia Regional Xi'an Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5015Problem DescriptionIn our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same me
2014-09-16 13:58:13
1084
原创 hdu 5012 Dice BFS 2014 ACM/ICPC Asia Regional Xi'an Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5012
2014-09-15 13:38:32
769
原创 hdu 5007 Post Robot 水题 2014 ACM/ICPC Asia Regional Xi'an Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5007Problem DescriptionDT is a big fan of digital products. He writes posts about technological products almost everyday in his blog.But there
2014-09-14 22:25:55
1208
原创 hdu 5011 Game Nim博弈 2014 ACM/ICPC Asia Regional Xi'an Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5011
2014-09-14 21:57:21
954
原创 hdu 5014 Number Sequence 找规律 | 贪心 2014 ACM/ICPC Asia Regional Xi'an Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5014
2014-09-14 21:27:55
687
原创 zoj 3809 The Himalayas 水题 The 2014 ACM-ICPC Asia Mudanjiang Regional First Round
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5341As an artist, Bob usually need to travel around the world. He made a lot of sketch of scenery on his journey. A famous spot he
2014-09-14 10:48:36
956
原创 hdu 5003 Osu! 水题 2014 ACM/ICPC Asia Regional Anshan Online
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5003
2014-09-14 10:05:57
1026
原创 poj 2299 Ultra-QuickSort(求逆序对)&& poj 1804
题目链接:DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacent sequence elements until th
2014-09-10 13:50:48
931
原创 poj 3659 Cell Phone Network(树的最小支配集树形DP)
题目链接:http://poj.org/problem?id=3659
2014-09-02 13:36:31
623
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人