1 happy PERSON
rich PERSON hot PERSON
2 queens N A B C D E F G H
M = N - 1 M bigger 0 AA = rand 8 BB = rand 8 CC = rand 8 DD = rand 8 EE = rand 8 FF = rand 8 GG = rand 8 HH = rand 8 print ( AA BB CC DD EE FF GG HH ) queens M AA BB CC DD EE FF GG HH
3 prin N
M = N + 1 M smaller 5 ss N 1 A ss N 2 B print ( N A B ) M reset m prin M else print fin
|