Result

AC

Duration

1801ms

Code [DL]

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

stdin

38
30
35
50
71
75
67
27
39
44
72
45
18
81
10
28
74
15
56
11
85
53
19
83
26
33
93
59
99
13
65
58
66
31
80
14
46
49
98
92
20
69
17
68
37
94
91
52
77
34

stdout

11000001000010100000000000000000000000000000000000

stderr

panic: runtime error: integer divide by zero

goroutine 1 [running]:
main.main()
	/tmp/code.go:3 +0x141

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffcda63130 /* 7 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x556dcbca1d18 /* 7 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.go"], 0x556dcbca1d38 /* 7 vars */) = 0
12    +++ exited with 0 +++
10    --- 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("/usr/bin/go", ["/usr/bin/go", "build", "-o", "/tmp/code", "/tmp/code.go"], 0x556dcbebf028 /* 7 vars */) = 0
20    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00012e8f0 /* 25 vars */) = 0
21    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000138dd0 /* 25 vars */) = 0
28    +++ exited with 0 +++
29    +++ exited with 0 +++
30    +++ exited with 0 +++
31    +++ exited with 0 +++
21    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
26    +++ exited with 0 +++
25    +++ exited with 0 +++
24    +++ exited with 0 +++
27    +++ 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=0} ---
32    execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00012ea90 /* 25 vars */) = 0
33    execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000138f70 /* 25 vars */) = 0
37    +++ exited with 0 +++
34    +++ exited with 0 +++
36    +++ exited with 0 +++
35    +++ exited with 0 +++
32    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
38    +++ exited with 0 +++
39    +++ exited with 0 +++
40    +++ exited with 0 +++
33    +++ exited with 0 +++
15    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
41    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build058212539/b001/_pkg"..., "-trimpath", "/tmp/go-build058212539/b001=>", "-p", "main", "-complete", "-buildid", "E3IJ6xXNhy7VCrnGOctS/E3IJ6xXNhy7"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build058212539/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc0002ca4e0 /* 25 vars */) = 0
43    +++ exited with 0 +++
42    +++ exited with 0 +++
44    +++ exited with 0 +++
41    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=1, si_stime=0} ---
45    execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0002ca820 /* 25 vars */) = 0
47    +++ exited with 0 +++
46    +++ exited with 0 +++
48    +++ exited with 0 +++
45    +++ exited with 0 +++
22    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=45, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
49    execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build058212539/b001/exe/"..., "-importcfg", "/tmp/go-build058212539/b001/impo"..., "-buildmode=exe", "-buildid=VqItuYVnYfJ5H3byt-Di/E3"..., "-extld=gcc", "/tmp/go-build058212539/b001/_pkg"...], 0xc0002cadd0 /* 25 vars */) = 0
52    +++ exited with 0 +++
51    +++ exited with 0 +++
50    +++ exited with 0 +++
49    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=49, si_uid=0, si_status=0, si_utime=23, si_stime=10} ---
23    +++ exited with 0 +++
22    +++ exited with 0 +++
19    +++ exited with 0 +++
17    +++ exited with 0 +++
16    +++ exited with 0 +++
15    +++ exited with 0 +++
14    +++ exited with 0 +++
18    +++ exited with 0 +++
13    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=8, si_stime=15} ---
53    execve("/bin/cat", ["cat", "-"], 0x556dcbca1d08 /* 7 vars */ <unfinished ...>
54    execve("/tmp/code", ["/tmp/code"], 0x556dcbca1cf0 /* 7 vars */) = 0
53    <... execve resumed>)             = 0
53    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=53, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
57    +++ exited with 2 +++
56    +++ exited with 2 +++
55    +++ exited with 2 +++
54    +++ exited with 2 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=54, si_uid=0, si_status=2, si_utime=0, si_stime=0} ---
58    execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x556dcbca1cf0 /* 7 vars */) = 0
58    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=58, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++