1 parent 33015d4 commit b8f8ca2Copy full SHA for b8f8ca2
1 file changed
cspuz_rs_puzzles/src/puzzles/nuritwin.rs
@@ -29,7 +29,7 @@ pub fn solve_nuritwin(
29
assert_eq!(rooms.len(), clues.len());
30
31
for i in 0..rooms.len() {
32
- if (rooms[i].len() as i32) == 1 {
+ if (rooms[i].len() as i32) < 3 {
33
return None;
34
}
35
let block_size = &solver.int_var(1, (rooms[i].len() as i32) / 2);
0 commit comments