|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 2048 (0x800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Queens, seg_05813a
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; use Text_Io; with Board_Management; use Board_Management; procedure Queens is Row : Integer := 1; Col : Integer := 1; begin while Col in Col_Range loop while Row in Row_Range and Col in Col_Range loop if Is_Safe (Row, Col) then Set_Queen (Row, Col); Col := Col + 1; Row := 1; else Row := Row + 1; end if; end loop; if Row > Board_Size then Col := Col - 1; Row := Configuration (Col); Remove_Queen (Row, Col); Row := Row + 1; end if; end loop; Put (Ascii.Lf); Display_Board; end Queens; pragma Main;
nblk1=1 nid=0 hdr6=2 [0x00] rec0=22 rec1=00 rec2=01 rec3=000 tail 0x21765718e87e05265207d 0x42a00088462060003