Result

AC

Duration

916ms

Code [DL]

m=100
while read a
do
echo $[m>a]
[ $a -lt $m ]&&m=$a
done

stdin

85
32
77
30
33
90
40
21
87
74
75
43
17
67
59
81
86
22
98
51
78
93
60
46
24
76
10
42
80
12
39
50
94
71
64
29
13
69
63
54
26
96
66
57
83
62
48
58
95
15

stdout

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

stderr

strace