Description Farmer John and Betsy are playing a game with N (1 <= N <= 30,000)identical cubes labeled 1 through N. They start with N stacks, each cont ...
分类:
编程语言 时间:
2017-09-14 21:51:45
阅读次数:
221
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. ...
分类:
其他好文 时间:
2017-09-13 11:53:30
阅读次数:
187
679B - Bear and Tower of Cubes 题目大意:一个数x定义一种拆分方式,每次拆分取最大的a 且 a^3<=x,x减去a^3,之后重复同样的操作,直到 x变为0。给你一个数m( m<=1e15 ),让你取一个数q<=m,q能执行的操作数在小于等于m的数里面最大,且在操作数 最 ...
分类:
其他好文 时间:
2017-08-16 20:17:55
阅读次数:
106
UVA 10733 - The Colored Cubes 题目链接 题意:一个立方体。n种颜色,问能涂成多少不同立方体 思路:Ploya求解,正方体相应24种不同旋转一一计算出循环个数就可以。和 UVA 10601 - Cubes这题类似 代码: #include <stdio.h> #inclu ...
分类:
其他好文 时间:
2017-08-15 10:13:40
阅读次数:
108
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fille ...
分类:
其他好文 时间:
2017-08-11 10:59:47
阅读次数:
154
题目: You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with r ...
分类:
其他好文 时间:
2017-07-26 15:39:19
阅读次数:
202
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. ...
分类:
其他好文 时间:
2017-07-25 22:31:41
阅读次数:
180
Timofey and cubes 题意: 思路:第奇数位数都没有改变位置,偶数位都与n-i+1调换了位置 AC代码: ...
分类:
其他好文 时间:
2017-07-20 17:32:03
阅读次数:
118
Dungeon Master Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or m ...
分类:
其他好文 时间:
2017-07-15 19:50:38
阅读次数:
237
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fille ...
分类:
其他好文 时间:
2017-07-15 11:29:35
阅读次数:
292