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. 在搭建开始之前,没有任何积木(可以看成 ...
随机推荐
- E. XOR and Favorite Number 莫队 2038: [2009国家集训队]小Z的袜子(hose)
一直都说学莫队,直到现在才学,训练的时候就跪了 T_T,其实挺简单的感觉.其实训练的时候也看懂了,一知半解,就想着先敲.(其实这样是不好的,应该弄懂再敲,以后要养成这个习惯) 前缀异或也很快想出来 ...
- CQRS之旅——旅程2(分解领域)
旅程2:分解领域 设计停靠站点 "没有石头就没有拱门" --马可波罗 在本章中,我们将对Contoso会议管理系统进行一个高层次的概述.这将帮助您理解应用程序的结构.集成点以及应用 ...
- Android模拟器使用SD卡
在Android的应用开发中经常要用到与SD卡有关的调试,本文就是介绍关于在Android模拟器中SD卡的使用 一. 准备工作 在介绍之前首先做好准备工作,即配好android的应用开发环境 ...
- 开发原则&设计模式
1.关于软件开发中的开发原则和设计模式: 1.1.开发原则 1.1.1.什么是开发原则? 开发原则就是开发的依据,只要依照这些原则进行开发,将来开发的软件具有很强的扩展力,很低的耦合度. 开发原则不属 ...
- Struts2 源码分析-----Hello world
今天第一天学习struts2,没学过怎么办,那当然是helloworld.感觉嘛,学习的基本流程都差不多,就是helloworld,开发环境,然后就是逐个按照知识点打demo,打着打着你就会发现str ...
- Thymeleaf的模板使用介绍
参考网址: https://blog.csdn.net/hry2015/article/details/73476973 先定义一个html文件, 如下: 文件路径: templates/templa ...
- python字符串及字符串操作
字符串介绍 1.字符串在内存中的存储: 2.字符串相加: 3.字符串的格式化: In [1]: a = 100 In [2]: a Out[2]: 100 #100<255,在堆内存下占用了一个 ...
- pat乙级1045
从左到右扫描时记录扫描到当前下标为止的最大值,如果当前元素大于这个最大值,那么它就大于它左边的所有值.同理,从右到左扫描记录扫描到当前下标为止的最小值,如果当前元素小于这个最大小值,那么它就小于它右边 ...
- java Vamei快速教程03 构造器和方法重载
作者:Vamei 出处:http://www.cnblogs.com/vamei 欢迎转载,也请保留这段声明.谢谢! 在方法与数据成员中,我们提到,Java中的对象在创建的时候会初始化(initial ...
- linux 命令——30 chown (转)
chown将指定文件的拥有者改为指定的用户或组,用户可以是用户名或者用户ID:组可以是组名或者组ID:文件是以空格分开的要改变权限的文件列表,支持通配符.系统管理员经常使用chown命令,在将文件拷贝 ...