by@taiyoslime
WA
651ms
$<.map{|e|c+=e%8%3-1==0&&c<9?(p 1):c+=1}
10 10 02 20 10 12 10 01 20 12 12 12 21 20 20 01 12 20 01 21 01 21 21 10 20 10 12 02 02 10 12 20 01 01 20 01 20 12 21 01 10 02 02 02 12 21 01 20 20 10 12 20 10 02 20 20 10 01 01 01 12 12 12 10 21 01 20 02 01 12 20 10 01 02 10 20 01 12 12 01 10 12 20 01 12 21 01 01 01 12 01 21 01 21 01 12 20 20 21 10 01 02 21 01 12 01 01 12 20 01 01 12 20 20 01 20 21 20 01 21 10 01 01 10 12 02 10 12 02 10 12 20 10 02 21 02 21 02 12 21 01 01 12 12 12 02 12 12 02 20 12 12 02 10 12 01 10 20 12 20 01 20 10 12 01 20 12 12 10 21 21 02 10 01 21 21 21 20 21 01 01 01 01 10 01 02 10 10 20 01 02 10 12 20 02 01 10 02 02 12 02 12 12 21 21 01 20 01 10 21 02 02 20 01 01 12 20 02 20 12 02 20 21 01 01 01 20 20 21 21 02 21 02 12 10 01 02 21 12 01 20 01 20 01 20 10 01 20 20 21 01 12 21 01 20 21 02 20 20 10 12 20 02 12 01 21 20 01 12 20 10 10 20 21 12 21 10 10 01 02 20 21 12 10 02 02 12 21 21 20 12 20 12 01 21 20 20 01 01 10
/volume/CODE:1:in `block in <main>': undefined method `-' for "10\n":String (NoMethodError) Did you mean? -@ from /volume/CODE:1:in `each_line' from /volume/CODE:1:in `each' from /volume/CODE:1:in `map' from /volume/CODE:1:in `<main>'