efinf:blc2016:loesungen-2016-12-13

This is an old revision of the document!


Vreneli

kontrabass-vreneli.rb
# No comment

Simon

schraubensack-hansli.rb
file = File.read("schrauben.txt")
for i in 1..60
  s = file.scan(/s\s(#{i})$/).size
  m = file.scan(/m\s(#{i})$/).size
  if (s!=0 and m!=0) then
    a = [s,m]
    n = a.min
    puts "#{i}mm: #{n} passende Paare"
  end
end

Peterli

koenig-peterli.rb
# No comment

Peterli

koenig-peterli.rb
# No comment

Käthi

Lösungen

  • efinf/blc2016/loesungen-2016-12-13.1481790054.txt.gz
  • Last modified: 2016/12/15 09:20
  • by simon_rusch