摘要: http://ac.nbutoj.com/Problem/view.xhtml?id=1173[1173] Birdlike Angry Pig时间限制: 1000 ms 内存限制: 65535 K问题描述There's no end to revenge. Pigs like to eat birds' eggs, so birds decide to revenge. For this, pigs decide to revenge as well. Pigs give a task to a birdlike pig. They let he sneak into the 阅读全文
posted @ 2013-04-09 21:38 crazy_apple 阅读(395) 评论(0) 推荐(0) 编辑
摘要: http://ac.nbutoj.com/Problem/view.xhtml?id=1414[1414] Rectangular Parallelopiped时间限制: 1000 ms 内存限制: 65535 K问题描述有n个长方体,每个长方体可以用a,b,c来描述,表示长和宽。长方体(a,b,c)(a<=b<=c)可以嵌套在长方体(x,y,z)(x<=y<=z)内当且仅当a<x,b<y,c<z。例如(1,5,6)可以嵌套在(2,7,8)内,但不能嵌套在(1,2,30)内。你的任务是选出尽可能多的长方体排成一行,使得除最后一个外,每个长方体都可以嵌套 阅读全文
posted @ 2013-04-09 21:20 crazy_apple 阅读(213) 评论(0) 推荐(0) 编辑