Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -29,9 +29,9 @@ printQueens(List q) {
|
|||
StringBuffer sb = new StringBuffer();
|
||||
for (int j=0; j<N; j++) {
|
||||
if (q[i] == j) {
|
||||
sb.add("Q ");
|
||||
sb.write("Q ");
|
||||
} else {
|
||||
sb.add("* ");
|
||||
sb.write("* ");
|
||||
}
|
||||
}
|
||||
print(sb.toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue