1 | is_even(X) :- 0 is mod(X,2). |
aXNfZXZlbihYKSA6LSAwIGlzIG1vZChYLDIpLg==
-
upload with new input
-
result: Success time: 0.02s memory: 68352 kB returned value: 0
is_even(5).
GNU Prolog 1.3.1 By Daniel Diaz Copyright (C) 1999-2009 Daniel Diaz no
-
result: Success time: 0.01s memory: 68352 kB returned value: 0
is_even(4).
GNU Prolog 1.3.1 By Daniel Diaz Copyright (C) 1999-2009 Daniel Diaz yes
-
result: Success time: 0.01s memory: 68352 kB returned value: 0
GNU Prolog 1.3.1 By Daniel Diaz Copyright (C) 1999-2009 Daniel Diaz



