Compare commits
No commits in common. "8df88d2c427de33b856461bb0df63f96e665a295" and "4f191d8689c05d9fe1a1c9bce3e6632d5a7dd403" have entirely different histories.
8df88d2c42
...
4f191d8689
@ -1,3 +0,0 @@
|
||||
[build]
|
||||
target = "x86_64-unknown-linux-musl"
|
||||
rustflags = "-C target-cpu=native -C strip=symbols"
|
@ -1,5 +1,3 @@
|
||||
use std::time::Instant;
|
||||
|
||||
struct SField {
|
||||
field: Vec<usize>,
|
||||
fixed: Vec<usize>,
|
||||
@ -403,11 +401,9 @@ impl SField {
|
||||
|
||||
#[inline(always)]
|
||||
fn solve(&mut self) {
|
||||
let now = Instant::now();
|
||||
if !self.solve_backtracking() {
|
||||
println!("there is no solution.");
|
||||
}
|
||||
println!("took {:.3}s", now.elapsed().as_secs_f64());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user