Result

AC

Duration

468ms

Code [DL]

<?php
$m=F;while($i=readline())echo$m>$i?($m=$i)/$m:0;

stdin

65
52
21
41
64
20
97
70
14
43
96
98
90
40
36
84
95
80
82
48
83
91
69
58
31
68
81
50
29
54
62
23
13
19
46
37
76
45
94
22
66
89
47
12
86
26
38
10
39
74

stdout

11100100100000000000000000000000100000000001000100

stderr

PHP Warning:  Use of undefined constant F - assumed 'F' (this will throw an Error in a future version of PHP) in /volume/CODE on line 2

strace