Result

AC

Duration

1845ms

Code [DL]

package main
import."fmt"
func main(){p,a:=100,0;for i:=0;i<50;i++{Scan(&a);if p>a{p=a};Print(p/a)}}

stdin

48
98
57
72
81
68
75
58
29
12
62
54
17
51
74
52
82
24
97
92
55
32
16
50
60
64
88
77
94
35
49
69
70
26
44
18
25
87
83
23
36
40
45
46
53
10
96
37
27
66

stdout

10000000110000000000000000000000000000000000010000

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffed1e2250 /* 7 vars */) = 0
12    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55c8e192ed18 /* 7 vars */) = 0
12    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.go"], 0x55c8e192ed38 /* 7 vars */) = 0
13    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    execve("/usr/bin/go", ["/usr/bin/go", "build", "-o", "/tmp/code", "/tmp/code.go"], 0x55c8e2228028 /* 7 vars */) = 0
20    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00011d930 /* 25 vars */) = 0
21    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000134c30 /* 25 vars */) = 0
26    +++ exited with 0 +++
27    +++ exited with 0 +++
25    +++ exited with 0 +++
21    +++ exited with 0 +++
16    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
28    execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000134dd0 /* 25 vars */) = 0
29    ????( <unfinished ...>
30    +++ exited with 0 +++
31    +++ exited with 0 +++
29    +++ exited with 0 +++
28    +++ exited with 0 +++
24    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
32    +++ exited with 0 +++
33    +++ exited with 0 +++
34    +++ exited with 0 +++
20    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=2} ---
35    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build877218131/b001/_pkg"..., "-trimpath", "/tmp/go-build877218131/b001=>", "-p", "main", "-complete", "-buildid", "jawr4BofkPC1l__m9c1n/jawr4BofkPC"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build877218131/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc0004864e0 /* 25 vars */) = 0
39    +++ exited with 0 +++
36    +++ exited with 0 +++
38    +++ exited with 0 +++
37    +++ exited with 0 +++
35    +++ exited with 0 +++
16    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=35, si_uid=0, si_status=0, si_utime=1, si_stime=1} ---
40    execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00038e340 /* 25 vars */) = 0
42    +++ exited with 0 +++
41    +++ exited with 0 +++
43    +++ exited with 0 +++
40    +++ exited with 0 +++
17    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=40, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
44    execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build877218131/b001/exe/"..., "-importcfg", "/tmp/go-build877218131/b001/impo"..., "-buildmode=exe", "-buildid=YN_O28abdTZVhyS12L9R/ja"..., "-extld=gcc", "/tmp/go-build877218131/b001/_pkg"...], 0xc00038e820 /* 25 vars */) = 0
46    +++ exited with 0 +++
45    +++ exited with 0 +++
48    +++ exited with 0 +++
47    +++ exited with 0 +++
44    +++ exited with 0 +++
16    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=44, si_uid=0, si_status=0, si_utime=23, si_stime=5} ---
23    +++ exited with 0 +++
16    +++ exited with 0 +++
24    +++ exited with 0 +++
22    +++ exited with 0 +++
18    +++ exited with 0 +++
15    +++ exited with 0 +++
19    +++ exited with 0 +++
17    +++ exited with 0 +++
14    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=9, si_stime=17} ---
49    execve("/bin/cat", ["cat", "-"], 0x55c8e192ed08 /* 7 vars */ <unfinished ...>
50    execve("/tmp/code", ["/tmp/code"], 0x55c8e192ecf0 /* 7 vars */ <unfinished ...>
49    <... execve resumed>)             = 0
50    <... execve resumed>)             = 0
49    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=49, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
52    +++ exited with 0 +++
51    +++ exited with 0 +++
53    +++ exited with 0 +++
50    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=50, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
54    execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x55c8e192ecf0 /* 7 vars */) = 0
54    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=54, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
11    +++ exited with 0 +++