Result

AC

Duration

757ms

Code [DL]

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

stdin

45
22
93
60
83
47
81
51
23
96
31
25
49
44
62
20
54
39
43
77
41
33
48
91
53
52
56
38
94
13
26
11
89
46
29
74
37
19
92
82
35
10
63
55
78
85
73
75
97
59

stdout

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

stderr

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

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdd225fa70 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x555695835d38 /* 7 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    execve("/usr/bin/python3", ["/usr/bin/python3", "/volume/CODE"], 0x555695835d50 /* 7 vars */) = 0
12    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=1, si_utime=1, si_stime=1} ---
10    +++ exited with 1 +++