Result

AC

Duration

518ms

Code [DL]

m="A"
while x:=input():print(+(m>x));m=min(m,x)

stdin

55
53
14
60
33
18
66
25
21
27
85
44
36
84
22
65
67
26
20
56
72
92
91
88
13
37
64
59
57
39
15
75
30
35
63
24
90
19
51
54
89
16
99
42
34
78
79
69
93
62

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

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 2, in <module>
    while x:=input():print(+(m>x));m=min(m,x)
EOFError: EOF when reading a line

strace

13    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe24f79228 /* 7 vars */) = 0
14    execve("/bin/cat", ["cat", "-"], 0x7f90a9812238 /* 7 vars */) = 0
15    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x7f90a9812250 /* 7 vars */ <unfinished ...>
14    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    <... execve resumed>)             = 0
15    +++ exited with 1 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=1, si_utime=1, si_stime=0} ---
13    +++ exited with 1 +++