Valid HTML 4.0! Valid CSS!

Output of row.pl

Back to the article

#
# row.pl - Solve the puzzle with the priests and cannibals
#
# Info: http://baetzler.de/perl/row.var
#
# Questions, comments, suggestions? Email thomas@baetzler.de
#


Solution found:
[PPPSKK]
[PPSK]    >PK>[]
[PPSK]<P<    [K]
[PPP]    >SK>[K]
[PPP]<S<    [KK]
[PS]    >PP>[KK]
[PS]<PK<    [PK]
[PK]    >PS>[PK]
[PK]<PK<    [PS]
[KK]    >PP>[PS]
[KK]<S<    [PPP]
[K]    >SK>[PPP]
[K]<P<    [PPSK]
[]    >PK>[PPSK]


Solution found:
[PPPSKK]
[PPSK]    >PK>[]
[PPSK]<P<    [K]
[PPP]    >SK>[K]
[PPP]<S<    [KK]
[PS]    >PP>[KK]
[PS]<PK<    [PK]
[PK]    >PS>[PK]
[PK]<PK<    [PS]
[KK]    >PP>[PS]
[KK]<S<    [PPP]
[K]    >SK>[PPP]
[K]<S<    [PPPK]
[]    >SK>[PPPK]

Back to the article

 


Auswege: Impressum, Haftungsausschluß, Datenschutz, thb's Perl-Ecke, meine Homepage.
Links: Imprint, thb's Perl Corner, my homepage.


Thomas Bätzler, Thomas@Baetzler.de
$Id$