Result

AC

Duration

923ms

Code [DL]

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

stdin

76
96
80
23
18
19
47
89
43
84
21
67
65
74
57
39
10
31
86
55
24
42
54
20
51
63
32
85
93
73
40
81
36
11
17
38
72
94
48
91
78
68
88
95
29
97
62
69
27
37

stdout

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

stderr

strace