Result

AC

Duration

1316ms

Code [DL]

m(_:x:y:_:z:_)|x==y=x|1<2=z
main=interact$map m.lines

stdin

526 226
418 146
821 149
622 628
974 541
211 159
824 728
213 133
238 881
467 338
686 683
599 448
124 551
949 395
313 616
114 191
488 122
277 991
164 665
672 277
454 934
377 139
648 484
815 647
354 273
685 856
644 448
766 665
498 854
211 714
961 117
499 953

stdout

21125171836953618762974628468119

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffc259d2c0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55d3a14f3d30 /* 7 vars */) = 0
13    execve("/usr/bin/runghc", ["/usr/bin/runghc", "/volume/CODE"], 0x55d3a14f3d40 /* 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("/usr/lib/ghc-8.8.3/bin/runghc", ["/usr/lib/ghc-8.8.3/bin/runghc", "-f", "/usr/bin/ghc-8.8.3", "/volume/CODE"], 0x562dd91af168 /* 7 vars */) = 0
13    execve("/usr/bin/ghc-8.8.3", ["/usr/bin/ghc-8.8.3", "-ignore-dot-ghci", "-x", "hs", "-e", ":set prog \"/volume/CODE\"", "-e", ":main []", "/volume/CODE"], 0x7ffda8bb5d50 /* 7 vars */) = 0
13    execve("/usr/lib/ghc-8.8.3/bin/ghc", ["/usr/lib/ghc-8.8.3/bin/ghc", "-B/usr/lib/ghc-8.8.3", "-ignore-dot-ghci", "-x", "hs", "-e", ":set prog \"/volume/CODE\"", "-e", ":main []", "/volume/CODE"], 0x55d8d3412200 /* 7 vars */) = 0
18    execve("/bin/gcc", ["gcc", "-DTABLES_NEXT_TO_CODE", "-B/usr/lib/ghc-8.8.3/integer-gmp"..., "--print-file-name", "libgmp.so"], 0x7ffebe83d1f0 /* 7 vars */) = -1 ENOENT (No such file or directory)
18    execve("/usr/local/sbin/gcc", ["gcc", "-DTABLES_NEXT_TO_CODE", "-B/usr/lib/ghc-8.8.3/integer-gmp"..., "--print-file-name", "libgmp.so"], 0x7ffebe83d1f0 /* 7 vars */) = -1 ENOENT (No such file or directory)
18    execve("/usr/local/bin/gcc", ["gcc", "-DTABLES_NEXT_TO_CODE", "-B/usr/lib/ghc-8.8.3/integer-gmp"..., "--print-file-name", "libgmp.so"], 0x7ffebe83d1f0 /* 7 vars */) = -1 ENOENT (No such file or directory)
18    execve("/usr/sbin/gcc", ["gcc", "-DTABLES_NEXT_TO_CODE", "-B/usr/lib/ghc-8.8.3/integer-gmp"..., "--print-file-name", "libgmp.so"], 0x7ffebe83d1f0 /* 7 vars */) = -1 ENOENT (No such file or directory)
18    execve("/usr/bin/gcc", ["gcc", "-DTABLES_NEXT_TO_CODE", "-B/usr/lib/ghc-8.8.3/integer-gmp"..., "--print-file-name", "libgmp.so"], 0x7ffebe83d1f0 /* 7 vars */) = 0
18    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    +++ exited with 0 +++
16    +++ exited with 0 +++
17    +++ exited with 0 +++
19    +++ exited with 0 +++
14    +++ exited with 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=20, si_stime=6} ---
11    +++ exited with 0 +++