This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- | |
- Copyright (C) 2010 Ovillo <http://github.com/jannschu/ovillo> | |
- Thanks to Ben Rudiak-Gould on comp.compression for a description | |
- and Mark Adler for an intresting implementation with "blast.c". | |
- | |
- This file is part of Ovillo. | |
- | |
- Ovillo is free software: you can redistribute it and/or modify | |
- it under the terms of the GNU General Public License as published by | |
- the Free Software Foundation, either version 3 of the License, or |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "bwinf.de 2010/2011 2nd round, ex. 3" | |
puts "Copyright (c) Jannik Schuerg 2011, GPLv3" | |
puts | |
if ARGV[0] =~ /[1-9]\d*/ | |
n = ARGV[0].to_i | |
else | |
puts "Usage: traumdreieck.rb <number of levels>" | |
end | |
conditions = [] |