Result

WA

Duration

1017ms

Code [DL]

8/{(;4<n*~.@=1-@@if}%

stdin

859 524
396 221
639 998
926 725
355 774
238 257
399 696
758 782
442 425
277 583
472 624
775 665
674 442
181 139
175 671
255 553
933 317
685 584
694 664
534 436
512 118
119 197
677 754
981 195
957 559
677 332
199 763
991 624
976 799
499 694
933 337
691 498

stdout

59925395477741753594117157997939

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffed75f3550 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x555b05481d70 /* 9 vars */ <unfinished ...>
12    execve("/usr/local/ruby-2.7.1/bin/ruby", ["/usr/local/ruby-2.7.1/bin/ruby", "/root/golfscript.rb", "/volume/CODE"], 0x555b057bf028 /* 9 vars */ <unfinished ...>
11    <... execve resumed>)             = 0
12    <... execve resumed>)             = 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 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=4, si_stime=4} ---
10    +++ exited with 0 +++