Result

AC

Duration

554ms

Code [DL]

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

stdin

78
40
13
27
60
90
37
50
92
45
14
69
31
80
49
30
34
77
87
95
79
73
63
71
24
52
19
85
35
99
15
28
48
89
47
61
98
74
83
91
88
25
97
82
29
65
72
59
21
17

stdout

1
1
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
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"], 0x7ffea1db4d98 /* 9 vars */) = 0
13    execve("/usr/local/ruby-latest/bin/ruby", ["/usr/local/ruby-latest/bin/ruby", "/volume/CODE"], 0x7f81d9132260 /* 9 vars */ <unfinished ...>
12    execve("/bin/cat", ["cat", "-"], 0x7f81d9132240 /* 9 vars */ <unfinished ...>
13    <... execve resumed>)             = 0
12    <... 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=4, si_stime=2} ---
11    +++ exited with 0 +++