Result

AC

Duration

859ms

Code [DL]

00000000  01 01 e6 da 05 c1 ec ed  20 01 c0 01 c1           |........ ....|
0000000d

stdin

755 551
622 524
341 447
178 256
473 553
987 279
371 871
878 586
155 755
169 967
911 192
266 557
591 991
152 923
955 575
932 371
211 294
255 559
418 916
744 556
756 561
249 915
723 885
842 426
987 773
215 789
951 152
328 237
299 829
845 568
413 335
774 893

stdout

5
2
4
8
5
7
1
8
5
9
1
5
9
2
5
2
1
5
8
5
6
9
8
2
7
5
1
8
9
5
3
4

stderr

/root/golfish/golfish.rb:280: warning: constant ::Fixnum is deprecated
/root/golfish/golfish.rb:79: warning: constant ::Fixnum is deprecated
/root/golfish/golfish.rb:80:in `chr': -1 out of char range (RangeError)
	from /root/golfish/golfish.rb:80:in `block in exec!'
	from /root/golfish/golfish.rb:49:in `loop'
	from /root/golfish/golfish.rb:49:in `exec!'
	from /root/golfish/golfish.rb:299:in `<main>'

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff68eb21e0 /* 9 vars */) = 0
12    execve("/usr/local/ruby-2.7.1/bin/ruby", ["/usr/local/ruby-2.7.1/bin/ruby", "/root/golfish/golfish.rb", "/volume/CODE"], 0x56299ddfe050 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x56299ddfe028 /* 9 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=1, si_utime=5, si_stime=3} ---
10    +++ exited with 1 +++