自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Stark_JC的博客

竭尽全力,才能看起来毫不费力!

  • 博客(14)
  • 资源 (1)
  • 收藏
  • 关注

原创 从C到C++

从 c 到 c++语法及数据类型实用函数及标准模板库STL函数 getline数据结构 vector数据结构 map迭代器

2018-03-09 17:22:29 884

原创 Spring基础——Bean

Spring核心Spring的核心机制就是IoC(控制反转)容器,被调用者的实例并不是由调用者创建(new),而是由Spring容器完成,然后注入调用者,调用者便获得了被调用者的实例,这也称为依赖注入(DI)。而ApplicationContext就是一个很强大的IoC容器,那些有setter和getter方法的类也叫做Bean,这些 bean 是由用容器提供的配置元数据创建的(容器内不是一开始就有

2018-03-31 19:46:49 241

原创 Struts2与JSP间数据到底怎么传输的?

valuestackongljsp

2018-03-29 21:07:49 798

原创 Struts2基础应用4——自定义拦截器

拦截器struts2

2018-03-28 21:54:47 206

原创 Struts基础应用2——注册

引入DAO层struts2

2018-03-27 21:23:45 199

原创 Struts基础应用3——iterator标签使用

struts2标签s:iterator

2018-03-27 21:23:06 313

原创 c++string 和 c-string

c++ stringc string

2018-03-25 17:30:15 2058

原创 Struts基础应用1——登录

本例实现Struts最简单的功能——用户登录。struts实例首先,从官网下载Struts软件,解压后将lib内的jar包拷贝到自己web项目内的WEB-INF/lib下。然后,直接上代码:login_struts.jsp,登录界面"java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

2018-03-19 22:04:32 279

原创 Hibernate基础

Hibernate原理介绍运行过程示例配置文件映射文件持久化类执行事务基于Annotation注解实现数据的CRUDPO/VOHibernate的缓存一级缓存二级缓存Hibernate优点Hibernate缺点MyBatis简介Hibernate原理介绍hibernate是一个开放源代码的对象关系映射框架(ORM),它的作用就是在关系...

2018-03-19 22:04:01 205

原创 PAT甲级练习题(持续更新中...)

PAT考试c++数据结构算法

2018-03-19 21:58:13 794

原创 Prim算法--c++

prim算法数据结构c++最小生成树

2018-03-16 10:02:40 677

原创 c++自定义LinkedList

c++单链表数据结构

2018-03-11 23:30:23 1100

原创 c++自定义二叉树

c++二叉树数据结构

2018-03-11 23:29:03 1057 1

原创 C语言笔记

指针相关sizeof和strlen的区别:字符指针字符指针创建用指针进行字符修改指针大小指针运算与自增/自减运算符结合二维数组,指针数组,数组指针函数指针与指针函数typedef结构结构声明->运算符与++、*等结合使用联合联合的大小位字段输入与输出%d,有符号整型数,字节数看机器,本机4字节printf...

2018-03-03 14:41:35 414

POJ---1456.Supermarket测试数据及答案

POJ---1456.Supermarket测试数据及答案,题目描述:A supermarket has a set Prod of products on sale. It earns a profit px for each product x∈Prod sold by a deadline dx that is measured as an integral number of time units starting from the moment the sale begins. Each product takes precisely one unit of time for being sold. A selling schedule is an ordered subset of products Sell ≤ Prod such that the selling of each product x∈Sell, according to the ordering of Sell, completes before the deadline dx or just when dx expires. The profit of the selling schedule is Profit(Sell)=Σx∈Sellpx. An optimal selling schedule is a schedule with a maximum profit. For example, consider the products Prod={a,b,c,d} with (pa,da)=(50,2), (pb,db)=(10,1), (pc,dc)=(20,2), and (pd,dd)=(30,1). The possible selling schedules are listed in table 1. For instance, the schedule Sell={d,a} shows that the selling of product d starts at time 0 and ends at time 1, while the selling of product a starts at time 1 and ends at time 2. Each of these products is sold by its deadline. Sell is the optimal schedule and its profit is 80.

2018-04-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除