This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
Prlog
Watch
2
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Import code from TD1 exercice 3
DricomDragon
5 years ago
parent
c088e75714
commit
f8e4307238
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
5
0
td/td1/asp3.lp
+ 5
- 0
td/td1/asp3.lp
View File
@@ -0,0 +1,5 @@
+q(1..4).
+{r(U+1) : q(U)}.
+:- not {r(U)}2.
+
+#show r/1.