Compare commits

..

No commits in common. "8df88d2c427de33b856461bb0df63f96e665a295" and "4f191d8689c05d9fe1a1c9bce3e6632d5a7dd403" have entirely different histories.

2 changed files with 0 additions and 7 deletions

View File

@ -1,3 +0,0 @@
[build]
target = "x86_64-unknown-linux-musl"
rustflags = "-C target-cpu=native -C strip=symbols"

View File

@ -1,5 +1,3 @@
use std::time::Instant;
struct SField { struct SField {
field: Vec<usize>, field: Vec<usize>,
fixed: Vec<usize>, fixed: Vec<usize>,
@ -403,11 +401,9 @@ impl SField {
#[inline(always)] #[inline(always)]
fn solve(&mut self) { fn solve(&mut self) {
let now = Instant::now();
if !self.solve_backtracking() { if !self.solve_backtracking() {
println!("there is no solution."); println!("there is no solution.");
} }
println!("took {:.3}s", now.elapsed().as_secs_f64());
} }
} }