Result

AC

Duration

952ms

Code [DL]

awk 'BEGIN{m=100}{print(m>$0);if(m>$0)m=$0}'

stdin

56
89
29
38
24
59
66
34
64
16
46
85
78
23
92
30
10
47
37
62
20
14
45
21
39
32
70
93
44
88
25
75
87
76
43
27
13
58
68
73
53
72
99
54
35
81
19
94
91
96

stdout

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

stderr

strace