2 lines
88 B
Ruby
2 lines
88 B
Ruby
|
[4,14].each_with_object($<.read.chars){|i,s|p i+s.each_cons(i).find_index{_1.uniq==_1}}
|