Salta ai contenuti. | Salta alla navigazione

Strumenti personali

attacchi.pl

Usato nel compito CLP del 27 luglio 2015

text/x-perl icon attacchi.pl — text/x-perl, 382 bytes

Contenuto del file

difese([1,2,3,4,5,6,7,8,9,10,11,12]).

attacco(1,[0,0,0,1,0,0,1,0,0,0,1,1]).
attacco(2,[1,0,0,0,1,0,1,0,1,1,1,0]).
attacco(3,[0,1,0,0,0,1,0,0,0,0,0,0]).
attacco(4,[1,0,1,0,1,0,0,1,0,0,1,0]).
attacco(5,[0,1,1,0,0,1,0,1,1,0,0,1]).
attacco(6,[1,1,1,0,0,0,0,0,0,0,0,0]).
attacco(7,[0,1,1,0,0,0,0,0,0,1,0,1]).
attacco(8,[0,0,0,1,0,0,0,1,0,0,0,0]).
attacco(9,[0,0,0,0,1,0,0,0,1,0,0,0]).