漢諾塔 從任意狀態移動M步後的狀態

#include <stdio.h> #include <algorithm> #include <vector> using namespace std; const int N = 64; __int64 step[N] ={0}; void cal_step() { for(int i = 1; i < N; ++i) step[i] = step[i -1] <<
相關文章
相關標籤/搜索