Result

AC

Duration

460ms

Code [DL]

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

stdin

71
15
90
94
78
30
43
42
17
22
70
95
26
19
80
96
35
64
65
81
79
20
97
14
48
92
32
39
24
33
85
69
40
89
98
63
52
34
58
77
88
59
73
60
13
93
36
45
37
72

stdout

11000000000000000000000100000000000000000000100000

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