parent
ce57cc41da
commit
86cd480264
@ -0,0 +1 @@
|
|||||||
|
3
|
@ -0,0 +1,2 @@
|
|||||||
|
p ARGF.read.split("\n").map(&:to_i).each_cons(2).count {|x,y| x < y }
|
||||||
|
p ARGF.read.split("\n").map(&:to_i).each_cons(3).map(&:sum).each_cons(2).count {|x,y| x < y }
|
Loading…
Reference in new issue