Browse Source

Import code from TD1 exercice 3

DricomDragon 5 years ago
parent
commit
f8e4307238
1 changed files with 5 additions and 0 deletions
  1. 5 0
      td/td1/asp3.lp

+ 5 - 0
td/td1/asp3.lp

@@ -0,0 +1,5 @@
+q(1..4).
+{r(U+1) : q(U)}.
+:- not {r(U)}2.
+
+#show r/1.