码迷,mamicode.com
首页 >  
搜索关键字:img    ( 49742个结果
netstat状态
Netstat 状态分析Netstat状态分类用netstat -an命令查看!再stat下面有一些英文,简单说一下这些英文具体都代表什么:LISTEN:(Listening for a connection.)侦听来自远方的TCP端口的连接请求SYN-SENT:(Active; sent SYN....
分类:Web程序   时间:2014-04-27 21:05:38    阅读次数:1249
逆序输出一句话
对一句话里面的单词进行reverse,标点符号位置不变。符号包括:,.!? 例:输入:Hello, my dear friend! 输出:olleH, ym raed dneirf! 思路:由于需要逆序输出,因此想到利用栈数据结构来实现。代码如下(调试环境:VS2013):
分类:其他好文   时间:2014-04-27 21:05:01    阅读次数:596
springMVC+MyBatis+Spring 整合(4) ---解决Spring MVC 对AOP不起作用的问题
解决Spring MVC 对AOP不起作用的问题分类:SpringMVC3x+Spring3x+MyBatis3xmyibaitsspringJ2EE2013-11-21 11:22640人阅读评论(1)收藏举报用的是 SSM3的框架 Spring MVC 3.1 + Spring 3.1 + My...
分类:编程语言   时间:2014-04-27 21:04:22    阅读次数:824
HDOJ 1217 Floyed Template
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 mapname; 9 const int INF = 1000000;10 const int MAXSIZE = 1005...
分类:其他好文   时间:2014-04-27 21:03:01    阅读次数:552
UESTC 31 饭卡(Card) --背包问题
背包问题。思路:如果m=5: 求出背包容量为m-5,买前n-1样便宜的菜(排个序)的最大价值(即最大消费,即消费完后剩余值最接近5)最后减去最大的那个菜的价格,就得到最小的余额。代码:#include #include #include #include #include using namespa...
分类:其他好文   时间:2014-04-27 21:02:23    阅读次数:640
sdut 2413:n a^o7 !(第三届山东省省赛原题,水题,字符串处理)
n a^o7 !Time Limit: 1000MS Memory limit: 65536K题目描述All brave and intelligent fighters, next you will step into a distinctive battleground which is ful...
分类:其他好文   时间:2014-04-27 21:01:45    阅读次数:529
CSU 1412 Line and Circles
原题链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1412 题目要求判断是否有一条直线可以穿过所有的圆。 做法:把所有圆心做一次凸包,然后判断这个凸包是否能通过一个宽度为2*R的通道。 做法和求凸包直径差不多,只是判断的时候把点到两...
分类:其他好文   时间:2014-04-27 21:00:32    阅读次数:683
C++类模板的使用
面向对象:设计和实现一个C++类模板,来提供一种采用数组来存储的、元素为任意类型的环形队。要求提供的操作:加入元素;提取元素;返回环形队允许存储的元素个数最大值;返回当前的有效元素个数。#include#includeusing namespace std; templateclass Queue{...
分类:编程语言   时间:2014-04-27 20:57:04    阅读次数:717
[Leetcode] 4Sum
Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ...
分类:其他好文   时间:2014-04-27 20:55:03    阅读次数:567
《Apache服务用户身份验证管理》RHEL6.3
1、安装apache软件包Yum install httpd2、启动apache服务/etc/init.d/httpd restart3、创建一个目录,内编辑一个index.html文件4、给这个目录设密码(是不是很passwd文件内用户的密码文件很像)5、编辑apache配置文件/etc/http...
分类:其他好文   时间:2014-04-27 20:54:27    阅读次数:655
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!