Adil.CubeRestore

Cube restore program.

Download as .zip Download as .tar.gz View on GitHub

3阶魔方还原程序

2019/5/14 返回


输入:

按照 前 后 右 左 上 下 的顺序输入魔方六个面的状态
输入样例为 codes/cube.in

输出:

输出还原魔方的辛马斯特标记序列
输出文件为 codes/cube.out

编译运行:

> g++ -o cube.exe cube.cpp
> ./cube.exe

批量测试:(需要先生成cube.exe)

g++ -o test.exe test.cpp
> ./test.exe

感谢LO-Yang和Junliang Li的共同开发