Result

WA

Duration

690ms

Code [DL]

STDIN.read.scan(/.(?=.)/){p$'>$&?1:0}

stdin

36987347358989616236021484232594374595136507397289876543210708652603937078291713587864761370123456789

stdout

stderr

/root/copos-rb/copos.rb:1:in `eval': (eval):1: unterminated quoted string meets end of file (SyntaxError)
	from /root/copos-rb/copos.rb:1:in `<main>'