Result

AC

Duration

844ms

Code [DL]

for x=1 to 32
get l
?l[5-(l[2]=l[3])*2]end

stdin

419 911
867 262
611 931
518 187
255 131
211 818
655 558
979 997
272 128
589 987
172 971
711 159
345 779
246 614
488 771
774 776
472 276
237 742
211 318
566 668
221 968
511 147
261 617
782 862
983 546
183 582
784 447
862 631
585 119
564 347
499 889
167 668

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffe727eee0 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x564a42ebbd18 /* 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"], 0x564a42ebbd38 /* 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", "-"], 0x564a42ebbd30 /* 9 vars */ <unfinished ...>
14    execve("/root/ring", ["/root/ring", "/tmp/code.ring"], 0x564a42ebbd40 /* 9 vars */ <unfinished ...>
13    <... execve resumed>)             = 0
14    <... execve resumed>)             = 0
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    +++ 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"], 0x564a42ebbc98 /* 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 +++