Result

WA

Duration

896ms

Code [DL]

main=interact$(>>=(\x->show.succ.length.filter((>'_').snd).takeWhile(/=('_','_'))$zip x$tail x)).lines

stdin

||||||||__
||_|_|_|_|
|_|_|____|
|__|__|||_
|||||_|___
|___||__|_
|__|__|__|
|_____||__
|||_|__|_|
|___|||_|_
||_||__||_
|__||__|||
||||___||_
|||__|____
|_|______|
||_|||___|
|__|_|||_|
|_|||_||||
|_|___||__
||_||||||_
|____|___|
|||_|_|||_
|__||__||_
|||____|__
||_||___||
|_||||____
|_|||||___
|||__|__|_
|||||_||__
|_|___|_||

stdout

863161114141432518281713456372

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc69d27d00 /* 7 vars */) = 0
13    execve("/usr/bin/runghc", ["/usr/bin/runghc", "/volume/CODE"], 0x5585d3fe8d40 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x5585d3fe8d30 /* 7 vars */ <unfinished ...>
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"], 0x55a082cc0168 /* 7 vars */ <unfinished ...>
12    <... execve resumed>)             = 0
13    <... execve resumed>)             = 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/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"], 0x7fff9f4bcd80 /* 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"], 0x559b4b1df200 /* 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"], 0x7ffd8d218e30 /* 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"], 0x7ffd8d218e30 /* 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"], 0x7ffd8d218e30 /* 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"], 0x7ffd8d218e30 /* 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"], 0x7ffd8d218e30 /* 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=23, si_stime=3} ---
11    +++ exited with 0 +++