Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,7 @@
print "P S F\n"
for(p=2;p<7;p+=2)
for(s=1;s<=7;s++)
for(f=1;f<=7;f++)
if (p != s && s != f \
&& p+s+f==12)
print p," ",s," ",f,"\n"

View file

@ -0,0 +1 @@
(1..7).to_a.each_permutation(3, true) { |p| puts p.join if p.first.even? && p.sum == 12 }