Result

AC

Duration

838ms

Code [DL]

j="Z"
for n in open(0):j=min(j,n);print(1-(j<n))

stdin

62
49
20
55
57
72
61
84
71
12
74
41
68
80
48
53
78
82
87
45
31
10
11
75
60
39
29
24
97
83
73
98
76
59
56
77
81
43
38
23
89
91
69
15
26
90
70
99
58
92

stdout

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

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffa98e8180 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55651a60ed38 /* 7 vars */) = 0
13    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x55651a60ed50 /* 7 vars */ <unfinished ...>
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=2, si_stime=1} ---
11    +++ exited with 0 +++