Result

AC

Duration

862ms

Code [DL]

module c;time a,b;initial while($fscanf(1<<31,"%h%h",a,b))$write(b/16%17?a&15:b>>8);endmodule

stdin

744 488
668 265
565 136
233 332
769 949
953 881
691 613
792 229
197 772
592 993
399 825
588 781
731 564
394 797
684 844
493 966
829 919
455 467
491 557
316 619
474 739
566 112
459 743
153 785
729 899
624 424
488 282
122 115
331 337
811 115
323 239
677 728

stdout

                   4                   8                   5                   3                   9                   8                   1                   2                   7                   9                   9                   8                   1                   4                   4                   3                   9                   5                   5                   6                   4                   1                   9                   3                   9                   4                   8                   1                   3                   1                   3                   7

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcddad0d20 /* 9 vars */) = 0
11    execve("/usr/local/bin/iverilog", ["/usr/local/bin/iverilog", "-o", "/tmp/code", "/volume/CODE"], 0x563eeb5b0d50 /* 9 vars */) = 0
12    execve("/bin/sh", ["sh", "-c", "/usr/local/lib/ivl/ivlpp  -L -F\""...], 0x7ffe4eab90c0 /* 9 vars */) = 0
13    execve("/usr/local/lib/ivl/ivlpp", ["/usr/local/lib/ivl/ivlpp", "-L", "-F/tmp/ivrlg23999c4e2", "-f/tmp/ivrlg3999c4e2", "-p/tmp/ivrli3999c4e2"], 0x559b0815e2a8 /* 9 vars */ <unfinished ...>
14    execve("/usr/local/lib/ivl/ivl", ["/usr/local/lib/ivl/ivl", "-C/tmp/ivrlh3999c4e2", "-C/usr/local/lib/ivl/vvp.conf", "--", "-"], 0x559b0815e290 /* 9 vars */) = 0
13    <... execve resumed>)             = 0
13    +++ exited with 0 +++
12    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    +++ exited with 0 +++
12    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=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} ---
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} ---
15    execve("/bin/cat", ["cat", "-"], 0x563eeb5b0d08 /* 9 vars */ <unfinished ...>
16    execve("/tmp/code", ["/tmp/code"], 0x563eeb5b0cf0 /* 9 vars */ <unfinished ...>
15    <... execve resumed>)             = 0
15    +++ exited with 0 +++
10    --- 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 resumed>)             = 0
16    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    execve("/bin/rm", ["rm", "/tmp/code"], 0x563eeb5b0c98 /* 9 vars */) = 0
17    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++