JZOJ 4743. 积木
Description
Input
Output
Sample Input
3
8 7 6
3 9 4
1 10 5
Sample Output
18
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT8AAABBCAIAAAAomzT5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABjaSURBVHhe7d11sJXVuwdwxW6xEGN+KipiY2KAiqJYWIiNhYHYYmIhtlfsvrZeO7FGsTvGLsZ27LFj1FHndz/ze+aueefd++yzTwBn37PeP87s/e6Vz3q+T6111jPFv/OTKZAp0JgUmKIxh51HnSmQKfDvjN7MBJkCjUqBjN5GXbk87kyBjN7MA5kCjUqBjN5GXbk87kyBjN7MA5kCjUqButD7888/Dxs2bN55552r2jP33HOvssoqzz33XDvS4J9//hk7duxss82m05tvvrkdW26Xpp5//vkTTzzx9NNPf/fdd9ulwdxIpkArKFAXej/55JNFF110iqafqaaa6qqrrmpF901V+fPPP3fYYYfo8Oijjwbmdmy8jU39+OOP/fr1i7HttNNOhtrGBnP1TIHWUaBe9Pbo0SP4dfXVVz/qqKOOOOKIkSNHHnjggfvuu+8+++wzZsyYzz//vHUjqFqrI6D3r7/+uu222w455JAbbrjhjz/+SOP89ddfBw4cGNQYPny4Yu048dxUpkD9FGgxeuH277//rr+D1pXsCOj97LPPFl98cRCdZ5553nvvveJEfv/995dffvn111/P0G3d+uZa7UKBjN4mychfCIuDsz9hwoR2IXduJFOgHSnQnujlnY4bN27//fcfPXr0p59+GqOkqO+8884DDjjg+OOP/+KLL7x55ZVX2N6+Umg02MEHH7zOOusMGDDglFNO+fbbb6NWVd2rfeGiww8/fKWVVurWrZuYFm9811139TJqKXDvvfcOHjxYjO3tt9/moJ511lkbbbTRGmussfvuu+s3Ee63335jFQ8dOpR27dq16xxzzKHNY4899ssvv4wyCnMKZp55Zuidbrrp+Lf77bef1rSZpnDCCSd88MEHqU2xvQsvvHCzzTZbYoklDG/llVfW6RNPPJGcdp0KdA0aNEjES2ERr4MOOmittdbq37+/pr755pt2XNfcVGegQIvRizuvv/76/yk8EPvdd98FeC655JJpppkGx/ft2/err77yEnQDA8suu+zHH3/M1Nx5553DaVxkkUUAoxgL41SH/1wVvVA6++yzKz/ttNP27t27T58+U089ta9gDLRRa8iQIdHgqFGjFCg23r179wCwcZ500knxE+ga6mKLLRZfYZjBTOIIlRXrxuc555yTuClOAeADnBT1mmuuGcUMD3rjM2rAahjYH3744QILLOAlYXH22WfrutjFxhtvDNKdgefyHNuLAi1GbyVPe7PnnnsGg4ruCGVFmVB3EazmOj755JMlWNJ7N954I76/+uqrMXTUOu644+ChKnqp0/nmm49u/+GHHzQFY/Rw1Np0001pNrW22mqreAMbI0aMIFY++uijJZdcMl7ahQrCnX/++faiiKHw4em9FVdcUQHB8wsuuMAb03nssccCYEQG6fDGG2+EPKocmzd77LFHdEGdCmsp9uabb/bq1csbwuuBBx7whqKef/75venSpctCCy10zTXX6OXWW2+dYYYZvESB1157rb3WNbfTGSjQYvRSLKVNX4xI5Sb7kG25xRZbBI8GJqeffnqcGgWKrM8WDfD4y5YO7l9ttdW+//77quj1kvoq7h5pNtQvxQ5aRfSuuuqqYYcTKIznaFwv0SNUBxTjUXHbbbeNMoz8eMmwJ3S8Kfm9lWNTMmBJ5RIxUb2o4XfbbTdATehVkmkQI2E/a9+bWWaZ5dFHH+0MPJfn2F4UaDF664k5c3pDlQWGjznmmBSbrYpek2FgA7ny//rXv2jLGjFnqFDgjjvu4EPStFNOOaVaXE0mdxG9aS8HemnmGExp8H5iHdD83M6llloqyrAjWopemjn0JyUfvn081113XfgRRAl5kdBrpnfddVfqxXEXZajoRx55pL3WNbfTGSgwUdCLcOPHjw93N+nApOXSMYyke/308MMPR/nYnqmKXrbxueeeC96K8XVp1A022KAp9DLgQ7lVRS9zna0bPS688MIUb2wOtQ69LPBA6XLLLVdU6fyCeM+EJlwSemecccb7778/o7czAGyiznGioJfpKwYTYMC+Z555Ztoibkr38gzxtPJMUFxeiV4gFASONoEtgsP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OZWc7a94C0fYei/Yx0YXkhbDpMziSBvTibFQ+U2tzCBnGiHssVuU6BcJiLths6IylN66RAdOGoGVURO+eiBpUnRtoI1KrVOxB6LQCXTFgPEcGJ9VV5vLEpEvBGCPISl9BIVEGN0wK8O7I8xKS6diyYlLhHUETYwwkqscqqe6QtXQnLXzSl9MXMM7aiuwVjPXr0ILBKPfrKNybaMRk7wgZSaZqYGGvy63766SfquijUYpxeikg1G/vFuE5r0KIJvRi0tGMkilPUb2DPjgW54GAEZ8X4TBhZRzKFLQ2ZNchlLpAJurR01ahv1DU2irToT7JKHOAhOFI4Ax2E/XTKHylNlmUE+QQlbFMAlQdC6HDSgQ3PJle4RGHLRNKVjhiUJqUKMSTq5vSYPfZJ4/p2IPQSeKRXMAfciiIS/GBJvPHuSFaQpliISRxjMehbwlXQmH2L9EW1GZTlF8WaVXKPirY0GIrJfIoDIYl3vU87Ty3Fau3yRDjLls6pPKZDi3K/WYY+JAZCCqxDY4A36VaVLZSvcUJY+F0Aph70clNRNcYPFTRqcScZ6+PL8PeIEkJhxIgRyaT30lrQfmHsRNCebm9f6oWc1ZH5cmpK1AjXfaaZZhK3L2pX9GG/sI3tiokqVQ5JO/ymZHeUCuBJRkc9/4jS7pOt3WAHQm8cMU1c6wNrBG4hFmXZSCxqq8KcEzNgL6WVE2G2ZpXbueQoVVZ5dgcXara4usFtfOaSUdq+i4EJSCLwqFSPqSMqumTqsx3YAra7sF1TJmjtcaqOa5vVBkGBdKJDX8IEVS0XgkB8GIRKbTJQ4b/Z/xNqNVUNieVMoBP0TcWxlWGtlAiF4EwAK966lNH8XuxXvyXY6gm2tGIHQm9Lh57LZwp0cgpk9HZyBsjTb2AKZPQ28OLloXdyCmT0dnIGyNNvYApk9Dbw4uWhd3IK/C/T0w6n+UD4RAAAAABJRU5ErkJggg==" alt="" border="0" hspace="0" vspace="0" />
Data Constraint
#include <cstdio>
#include <iostream>
#include <cstring>
#define rep(i,a,b) for (int i=1;i<=n;i++)
#define M 65537
#define N 17
using namespace std;
int a[N],b[N],c[N],n,ans;
int f[M][N][]; void Init(){
scanf("%d",&n);
rep(i,,n) scanf("%d%d%d",&a[i],&b[i],&c[i]);
} void Dfs(int dep,int x,int zt,int situ,int high){
if (f[situ][x][zt]>=high) return;
else f[situ][x][zt]=high,ans=max(ans,high);
if (dep>n){
ans=max(ans,high);
return;
}
int cmpx,cmpy;
if (zt==||zt==) cmpx=a[x]; else cmpx=b[x];
if (zt==||zt==) cmpy=c[x]; else cmpy=b[x];
if (cmpx<cmpy) swap(cmpx,cmpy);
rep(i,,n){
if (<<i&situ) continue;
int xx=a[i],yy=b[i],next=;
if (xx<yy) swap(xx,yy);
if (xx<=cmpx&&yy<=cmpy) Dfs(dep+,i,next,situ|(<<i),high+c[i]); xx=a[i],yy=c[i],next=;
if (xx<yy) swap(xx,yy);
if (xx<=cmpx&&yy<=cmpy) Dfs(dep+,i,next,situ|(<<i),high+b[i]); xx=b[i],yy=c[i],next=;
if (xx<yy) swap(xx,yy);
if (xx<=cmpx&&yy<=cmpy) Dfs(dep+,i,next,situ|(<<i),high+a[i]);
}
} void Work(){
rep(i,,n){
Dfs(,i,,<<i,c[i]);
Dfs(,i,,<<i,b[i]);
Dfs(,i,,<<i,a[i]);
}
printf("%d",ans);
} int main(){
Init();
Work();
}
JZOJ 4743. 积木的更多相关文章
- JZOJ 3505. 【NOIP2013模拟11.4A组】积木(brick)
3505. [NOIP2013模拟11.4A组]积木(brick) (File IO): input:brick.in output:brick.out Time Limits: 1000 ms Me ...
- codevs 3288 积木大赛
题目描述 Description 春春幼儿园举办了一年一度的"积木大赛".今年比赛的内容是搭建一座宽度为 n 的大厦,大厦可以看成由 n 块宽度为1的积木组成,第i块积木的最终高度 ...
- 洛谷P2409 Y的积木
P2409 Y的积木 77通过 491提交 题目提供者zhouyonglong 标签云端评测 难度普及+/提高 提交 讨论 题解 最新讨论 这组数据几乎可以卡掉所有程- 第一个题解有点问题 求教大 ...
- NOIP2013积木大赛
题目描述 春春幼儿园举办了一年一度的“积木大赛”.今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成,第i块积木的最终高度需要是hi. 在搭建开始之前,没有任何积木(可以看成 ...
- vijos1059 积木城堡[n年浙江省队第X轮](背包的方案总数 or 01背包)
描述 XC的儿子小XC最喜欢玩的游戏用积木垒漂亮的城堡.城堡是用一些立方体的积木垒成的,城堡的每一层是一块积木.小XC是一个比他爸爸XC还聪明的孩子,他发现垒城堡的时候,如果下面的积木比上面的积木大, ...
- noip2013 积木大赛
题目描述 春春幼儿园举办了一年一度的“积木大赛”.今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成,第i块积木的最终高度需要是hi. 在搭建开始之前,没有任何积木(可以看成 ...
- BZOJ 1109: [POI2007]堆积木Klo
1109: [POI2007]堆积木Klo Time Limit: 10 Sec Memory Limit: 162 MBSubmit: 948 Solved: 341[Submit][Statu ...
- [NOIP2013] 提高组 洛谷P1969 积木大赛
题目描述 春春幼儿园举办了一年一度的“积木大赛”.今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成,第i块积木的最终高度需要是hi. 在搭建开始之前,没有任何积木(可以看成 ...
- NOIp 2013 #1 积木大赛 Label:有趣的模拟
题目描述 春春幼儿园举办了一年一度的“积木大赛”.今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成,第i块积木的最终高度需要是hi. 在搭建开始之前,没有任何积木(可以看成 ...
随机推荐
- 如何创建width与height比例固定的元素
面试题,刚在github上看到的,说说这里面的知识点吧~~ padding-bottom的值,其百分比是根据元素自身的width来算的. padding,在标准盒模型中,width+padding+b ...
- java多线程 synchronized关键字的一些用法
看这篇文章啦: http://blog.csdn.net/xiao__gui/article/details/8188833
- 白话SpringCloud | 第一章:什么是SpringCloud
前言 作为SpringCloud的正式第一章,我们先来简单了解下SpringCloud相关知识点吧,内容可能比较多. 何为微服务 传统单体架构 服务化架构 微服务架构 什么是SpringCloud 核 ...
- AngularJS实现 购物车
<!DOCTYPE html> <html> <head> <meta charset = "utf-8"> <script ...
- ASP.NET MVC CheckBoxFor为什么会生成hidden input控件
自己开发的公众号,可以领取淘宝内部优惠券 @Html.CheckBoxFor(m => m.Bool) 使用CheckBoxFor方法得到的html代码会是下面这个样子 <input ch ...
- Linux常用操作2
第1章 find命令扩展 转自:https://www.cnblogs.com/clsn/p/7520333.html 1.1 方法一 |xargs 通过|xargs将前面命令的执行结果传给后面. [ ...
- <Android 基础(二)> BroadcastReceiver
介绍 BroadcastReceiver:广播接收者,很形象,广播发送,类比生活中的广播,有能力听得到的都可以介绍到这个信息,然后在大脑中反映.对应到Android中就是SendBroadcast和o ...
- Mysql数据库操作语句总结(二)
Mysql字符串字段判断是否包含字符串的3中方法 方法一: select * from user where email like "%b@email.com%";// 这个理解起 ...
- newsyslog.conf详解
newsyslog.conf 指出了哪个日志文件要被管理,要保留多少和它们什么时候被创建.日志文件可以在它们达到一定大小或者在特定的日期被重新整理.# configuration file for n ...
- Coursera 算法二 week2 Seam Carving
这周作业设计到的算法是有向无环图的最短路径算法,只需要按照顶点的拓扑顺序去放松顶点即可.而在这个题目中拓扑顺序就是按照行的顺序或列的顺序. 用到的数据结构为一个二维数组picture同来存储每个像素的 ...