码迷,mamicode.com
首页 >  
搜索关键字:.class    ( 183544个结果
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
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
MFC-消息分派
前言由于工作需要,这几天学了一点MFC,在AFX里看到很多熟悉的东西,如类型信息,序列化,窗口封装和消息分派。几乎每个界面库都必须提供这些基础服务,但提供的手法却千差万别。MFC大量地借用了宏,映射表来实现,而VCL则更多的在语言级别上给与支持。这其实是很容易理解的,因为C++是一个标准,不会因某个...
分类:其他好文   时间:2014-04-27 20:57:45    阅读次数:623
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
图形学_多边形扫描转换_边界标志算法
边界标志算法1.对多边形的每一条边进行扫描转换,即对多边形边界所经过的象素作一个边界标志。2.填充对每条与多边形相交的扫描线,按从左到右的顺序,逐个访问该扫描线上的象素。取一个布尔变量inside来指示当前点的状态,若点在多边形内,则inside为真。若点在多边形外,则inside为假。Inside...
分类:其他好文   时间:2014-04-27 20:53:06    阅读次数:698
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!