Explorar o código

Import code from TD1 exercice 3

DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
f8e4307238
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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.