Result

AC

Duration

1293ms

Code [DL]

s=?@
$<.map{p _1<s ?(s=_1;1):0}

stdin

19
23
73
27
82
44
91
92
94
96
81
25
93
28
58
61
17
84
67
98
90
64
43
20
86
74
97
35
75
37
38
18
79
34
72
71
31
46
78
63
85
59
15
99
14
57
76
26
11
89

stdout

1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
1
0

stderr

strace

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