摘要: 这个题 玩过魔方的可能做起来比较简单 ,我是从魔方的想法中得到了 对于相同的Cube,无论如何旋转 每个面的相对位置不变 ,因此 我把位置一对一对读入字符串 然后 两个字符串都按照规定顺序排序 然后比较这两个字符串是否相同 就可以得到结论了 题目及AC代码如下:Cube paintingWe have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of these colors. The c 阅读全文
posted @ 2014-03-06 21:50 VOID修罗 阅读(160) 评论(0) 推荐(0)