Skip to main content
1 of 7
rewritten
  • 319
  • 1
  • 5

ruby

prog = ARGF.read
0 while prog.gsub! /\[[^\[\]]*\]/, ''
exit /[\[\]]/ === prog
rewritten
  • 319
  • 1
  • 5