more tests

This commit is contained in:
Yaossg 2025-03-09 22:28:36 +08:00
parent d0f8b3e0ad
commit 1bcff515b7
22 changed files with 191 additions and 58 deletions

View file

@ -30,6 +30,7 @@ void queen(int x) {
if (x > 8) {
output();
a[0]++;
return;
}
for (int y = 1; y <= 8; ++y) {
if (ok(x, y)) {