Result

WA

Duration

1675ms

Code [DL]

package main
import.`fmt`
func main(){for{a,b:=0,0
Scan(&a,&b)
if a%89%23<7{a=b/100}
Print(a%10%b)}}

stdin

188 887
436 368
568 551
889 839
788 264
199 486
844 491
112 187
337 718
366 668
216 966
375 991
953 721
262 343
567 762
947 724
954 857
722 425
133 374
969 494
457 771
497 497
944 349
344 553
356 498
823 233
997 795
915 724
591 993
146 443
599 884
738 885

stdout

86898941766532774239744443771698

stderr

panic: runtime error: integer divide by zero

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

strace

13    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe75464110 /* 7 vars */) = 0
14    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x556bccf5cd18 /* 7 vars */) = 0
14    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.go"], 0x556bccf5cd38 /* 7 vars */) = 0
15    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    execve("/usr/bin/go", ["/usr/bin/go", "build", "-o", "/tmp/code", "/tmp/code.go"], 0x556bcd269028 /* 7 vars */) = 0
23    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00028e820 /* 25 vars */) = 0
24    execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00012add0 /* 25 vars */) = 0
25    +++ exited with 0 +++
29    +++ exited with 0 +++
26    +++ exited with 0 +++
27    +++ exited with 0 +++
23    +++ exited with 0 +++
28    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=23, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
30    execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00012af70 /* 25 vars */) = 0
33    +++ exited with 0 +++
31    +++ exited with 0 +++
32    +++ exited with 0 +++
24    +++ exited with 0 +++
18    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
34    execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00012b110 /* 25 vars */) = 0
37    +++ exited with 0 +++
36    +++ exited with 0 +++
35    +++ exited with 0 +++
30    +++ exited with 0 +++
28    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
39    +++ exited with 0 +++
40    +++ exited with 0 +++
38    +++ exited with 0 +++
34    +++ exited with 0 +++
22    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=34, 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-build308496043/b001/_pkg"..., "-trimpath", "/tmp/go-build308496043/b001=>", "-p", "main", "-complete", "-buildid", "xvu3OMLTOVp_yw9_bDj6/xvu3OMLTOVp"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build308496043/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc0004824e0 /* 25 vars */) = 0
44    +++ exited with 0 +++
43    +++ exited with 0 +++
42    +++ exited with 0 +++
45    +++ exited with 0 +++
41    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
46    execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000344270 /* 25 vars */) = 0
48    +++ exited with 0 +++
47    +++ exited with 0 +++
49    +++ exited with 0 +++
50    +++ exited with 0 +++
46    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=46, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
51    execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build308496043/b001/exe/"..., "-importcfg", "/tmp/go-build308496043/b001/impo"..., "-buildmode=exe", "-buildid=sn58xyfSVwIXznrSknBb/xv"..., "-extld=gcc", "/tmp/go-build308496043/b001/_pkg"...], 0xc000344680 /* 25 vars */) = 0
52    +++ exited with 0 +++
54    +++ exited with 0 +++
53    +++ exited with 0 +++
51    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=51, si_uid=0, si_status=0, si_utime=21, si_stime=2} ---
28    +++ exited with 0 +++
22    +++ exited with 0 +++
21    +++ exited with 0 +++
20    +++ exited with 0 +++
19    +++ exited with 0 +++
18    +++ exited with 0 +++
17    +++ exited with 0 +++
16    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=5, si_stime=14} ---
55    execve("/bin/cat", ["cat", "-"], 0x556bccf5cd08 /* 7 vars */ <unfinished ...>
56    execve("/tmp/code", ["/tmp/code"], 0x556bccf5ccf0 /* 7 vars */) = 0
55    <... execve resumed>)             = 0
55    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=55, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
60    +++ exited with 2 +++
59    +++ exited with 2 +++
58    +++ exited with 2 +++
57    +++ exited with 2 +++
56    +++ exited with 2 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=56, si_uid=0, si_status=2, si_utime=0, si_stime=0} ---
61    execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x556bccf5ccf0 /* 7 vars */) = 0
61    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=61, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    +++ exited with 0 +++