E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
poj2923
poj2923
链接:点击打开链接题意:有n个货物,给出每个货物的重量,每次用容量为c1,c2的火车运输,问最少需要运送多少次可以将货物运完代码:#include #include #include #include #include usingnamespacestd; constintINF=0x3f3f3f3f; intn,c1,c2; intw[15],v[105],dp[(1c1+c2)
stay_accept
·
2016-03-15 21:00
poj2923
(状态压缩01背包)
题意: 两辆车去运一堆货物,货物数量小于等于10,问最少需要几趟能把货物全部运到目的地。 1 #include <iostream> 2 #include <cstdio> 3 using namespace std; 4 const int Ni = 1<<10; 5 const int INF = 1<<27; 6 i
·
2015-11-13 10:40
poj
POJ2923
——背包DP(01+状压)——Relocation
Description Emma and Eric are moving to their new house they bought after returning from their honeymoon. Fortunately, they have a few friends helping them relocate. To move the furniture, they onl
·
2015-11-07 14:30
location
poj2923
Relocation
DescriptionEmmaandEricaremovingtotheirnewhousetheyboughtafterreturningfromtheirhoneymoon.Fortunately,theyhaveafewfriendshelpingthemrelocate.Tomovethefurniture,theyonlyhavetwocompactcars,whichcomplicat
Kirito_Acmer
·
2015-06-23 15:00
状压dp
背包DP
poj2923
01背包+状态压缩dp
http://poj.org/problem?id=2923DescriptionEmmaandEricaremovingtotheirnewhousetheyboughtafterreturningfromtheirhoneymoon.Fortunately,theyhaveafewfriendshelpingthemrelocate.Tomovethefurniture,theyonlyhav
u013573047
·
2014-12-01 21:00
POJ2923
:Relocation(状态压缩+01)
DescriptionEmmaandEricaremovingtotheirnewhousetheyboughtafterreturningfromtheirhoneymoon.Fortunately,theyhaveafewfriendshelpingthemrelocate.Tomovethefurniture,theyonlyhavetwocompactcars,whichcomplicat
libin56842
·
2014-08-02 16:00
HDU
背包
poj2923
Relocation
I- RelocationTimeLimit:1000MS MemoryLimit:65536KB 64bitIOFormat:%I64d&%I64uSubmit StatusDescriptionEmmaandEricaremovingtotheirnewhousetheyboughtafterreturningfromtheirhoneymoon.Fortunately,the
u010422038
·
2013-07-08 12:00
relocation
poj2923
poj2923
Relocation
RelocationTimeLimit:1000MS MemoryLimit:65536KTotalSubmissions:1120 Accepted:451DescriptionEmmaandEricaremovingtotheirnewhousetheyboughtafterreturningfromtheirhoneymoon.Fortunately,theyhaveafewfriendsh
magicnumber
·
2012-09-15 08:00
上一页
1
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他