Professional Documents
Culture Documents
8 Reinas
8 Reinas
sol([]). Fals
sol([X/Y|Others]):-
sol(Others),
sol([]). Fals
sol([X/Y|Others]):-
sol(Others),
sol([]).Fals
sol([X/Y|Others]):-
sol(Others),
sol([]). Fals
sol([X/Y|Others])
sol(Others),
sol([]) Ver
member(Y,[1,2,3,4])
noattack(X/Y, 0)
member(Y,[1,2,3,4])
noattack
member(Y,[1,2,3,4])
noattack
member(Y,[1,2,3,4]),
noattack