摘要:
#include "stdafx.h"#include using namespace std;static vector alpha;void seq_printer(unsigned int* a, unsigned int* a_end){ for (unsigned int* i = a; i n) { // we want only necklaces, not pre-necklaces or Lyndon words if (n % p == 0) { seq_printer(a + 1, a + p + 1); ... 阅读全文