fork(1) download
  1. def f(a);a=~/1011(.{8}1110){2}.{8}1111/;$`.size.divmod(12);end
  2.  
  3. p f("111001111110110100100000010001111101100100100100100101100111111111000010110111000001100111100001100111011111111110011111100001010111110011000011")
Success #stdin #stdout 0.02s 9720KB
stdin
Standard input is empty
stdout
[4, 3]