Result

AC

Duration

1034ms

Code [DL]

for x in 1:32{get l?l[5-(l[2]=l[3])*2]}

stdin

397 996
646 684
644 447
488 916
765 665
951 153
154 562
398 224
854 955
942 647
336 636
935 354
299 793
337 427
755 528
346 464
293 773
352 877
299 994
311 297
379 892
622 923
613 322
756 549
327 773
175 358
788 336
766 615
634 875
488 339
365 554
848 282

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc0a338ac0 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x559d01721d18 /* 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    execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.ring"], 0x559d01721d38 /* 9 vars */) = 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=0, si_stime=0} ---
13    execve("/bin/cat", ["cat", "-"], 0x559d01721d30 /* 9 vars */) = 0
14    execve("/root/ring", ["/root/ring", "/tmp/code.ring"], 0x559d01721d40 /* 9 vars */ <unfinished ...>
13    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    <... execve resumed>)             = 0
14    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
15    execve("/bin/rm", ["rm", "/tmp/code.ring"], 0x559d01721c98 /* 9 vars */) = 0
15    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++