Skip to content

Instantly share code, notes, and snippets.

@johngeorgewright
Last active August 29, 2015 13:57
Show Gist options
  • Save johngeorgewright/9496734 to your computer and use it in GitHub Desktop.
Save johngeorgewright/9496734 to your computer and use it in GitHub Desktop.
Codejam template. First argument passed to the script is considered an input file
file = File.new ARGV.shift, "r"
test_size = file.gets.to_i
(1..test_size).each do |item_num|
$stdout << "Case ##{item_num}: "
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment