Result

AC

Duration

1241ms

Code [DL]

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

stdin

55
79
90
95
71
39
27
49
28
73
50
61
62
34
16
29
67
85
83
59
54
31
12
30
48
75
36
96
92
91
72
58
78
37
57
20
23
53
40
86
99
66
41
97
35
15
44
24
93
98

stdout

1
0
0
0
0
1
1
0
0
0
0
0
0
0
1
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
0
0

stderr

strace

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