Result

AC

Duration

888ms

Code [DL]

module m;integer X,Y;initial begin
while($fscanf(1<<31,"%d%d",X,Y))$write(Y/10%11?X%10:Y/100);end
endmodule

stdin

914 115
872 726
733 135
122 276
486 838
232 787
217 735
316 336
636 468
211 373
594 997
246 665
521 115
177 446
574 216
937 764
643 344
611 649
426 621
267 568
166 668
177 674
577 778
518 188
312 915
689 841
144 335
648 384
254 866
597 872
911 122
925 997

stdout

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

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdd53a6810 /* 9 vars */) = 0
12    execve("/usr/local/bin/iverilog", ["/usr/local/bin/iverilog", "-o", "/tmp/code", "/volume/CODE"], 0x557ec8358d50 /* 9 vars */) = 0
13    execve("/bin/sh", ["sh", "-c", "/usr/local/lib/ivl/ivlpp  -L -F\""...], 0x7ffda480e3b0 /* 9 vars */) = 0
14    execve("/usr/local/lib/ivl/ivlpp", ["/usr/local/lib/ivl/ivlpp", "-L", "-F/tmp/ivrlg265c2bef9", "-f/tmp/ivrlg65c2bef9", "-p/tmp/ivrli65c2bef9"], 0x5614352b62a8 /* 9 vars */ <unfinished ...>
15    execve("/usr/local/lib/ivl/ivl", ["/usr/local/lib/ivl/ivl", "-C/tmp/ivrlh65c2bef9", "-C/usr/local/lib/ivl/vvp.conf", "--", "-"], 0x5614352b6290 /* 9 vars */ <unfinished ...>
14    <... execve resumed>)             = 0
15    <... execve resumed>)             = 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    +++ 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} ---
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} ---
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} ---
16    execve("/bin/cat", ["cat", "-"], 0x557ec8358d08 /* 9 vars */ <unfinished ...>
17    execve("/tmp/code", ["/tmp/code"], 0x557ec8358cf0 /* 9 vars */ <unfinished ...>
16    <... execve resumed>)             = 0
17    <... execve resumed>)             = 0
16    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18    execve("/bin/rm", ["rm", "/tmp/code"], 0x557ec8358c98 /* 9 vars */) = 0
18    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
11    +++ exited with 0 +++