andmej / acm

My solutions for problems from the UVa Online Judge (Valladolid).

This URL has Read+Write access

acm / 10000 - Longest Paths / genInput.rb
100644 7 lines (6 sloc) 0.085 kb
1
2
3
4
5
6
7
puts "100"
puts "1"
for i in (1..99)
  puts i.to_s + " " + (i+1).to_s
end
puts "0 0"