Result

AC

Duration

1035ms

Code [DL]

x=':'
while t:=input():
 u=x>t
 if u:x=t
 print(u+0)

stdin

89
56
99
97
64
87
37
82
18
98
16
58
20
50
61
91
28
31
51
80
73
46
23
67
75
86
92
71
76
35
94
15
12
65
68
43
53
30
48
44
49
70
63
69
77
85
27
74
10
54

stdout

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

stderr

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

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffd60d8da0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x56429cb2dd38 /* 7 vars */) = 0
13    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x56429cb2dd50 /* 7 vars */ <unfinished ...>
12    +++ exited with 0 +++
13    <... execve resumed>)             = 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 1 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
11    +++ exited with 1 +++