mirror of https://github.com/dnomd343/klotski.git
Dnomd343
2 years ago
5 changed files with 46 additions and 11 deletions
@ -1,4 +1,12 @@ |
|||||
#pragma once |
#pragma once |
||||
|
|
||||
|
extern "C" { |
||||
|
void _tmain(); |
||||
|
} |
||||
|
|
||||
|
extern "C" { |
||||
|
|
||||
|
void short_code_speed_up(); |
||||
void short_code_speed_up_fast(); |
void short_code_speed_up_fast(); |
||||
void short_code_speed_up_normal(); |
|
||||
|
} |
||||
|
@ -0,0 +1,19 @@ |
|||||
|
#include <iostream> |
||||
|
#include "klotski.h" |
||||
|
|
||||
|
#include "core.h" |
||||
|
|
||||
|
void _tmain() { |
||||
|
// std::cout << "test" << std::endl;
|
||||
|
|
||||
|
uint64_t raw_code = 0x0603EDF5CAFFF5E2; |
||||
|
|
||||
|
auto core = Core([](uint64_t code, uint64_t mask) { |
||||
|
return; |
||||
|
}); |
||||
|
|
||||
|
for (uint32_t i = 0; i < 1000000; ++i) { |
||||
|
core.next_cases(raw_code, 0); |
||||
|
} |
||||
|
|
||||
|
} |
Loading…
Reference in new issue