Result

AC

Duration

1063ms

Code [DL]

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

stdin

214 518
282 283
366 675
775 778
655 528
997 922
722 227
523 364
822 664
877 576
417 669
578 229
776 787
659 699
733 634
558 389
611 331
358 588
355 554
891 115
741 821
934 881
415 316
861 611
411 646
737 749
263 823
599 144
376 576
173 371
892 991
548 885

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe03630b80 /* 9 vars */) = 0
11    execve("/usr/local/bin/iverilog", ["/usr/local/bin/iverilog", "-o", "/tmp/code", "/volume/CODE"], 0x5654bf9e7d50 /* 9 vars */) = 0
12    execve("/bin/sh", ["sh", "-c", "/usr/local/lib/ivl/ivlpp  -L -F\""...], 0x7ffd50d499a0 /* 9 vars */) = 0
14    execve("/usr/local/lib/ivl/ivl", ["/usr/local/lib/ivl/ivl", "-C/tmp/ivrlh3999c4e2", "-C/usr/local/lib/ivl/vvp.conf", "--", "-"], 0x55a5f91aa290 /* 9 vars */ <unfinished ...>
13    execve("/usr/local/lib/ivl/ivlpp", ["/usr/local/lib/ivl/ivlpp", "-L", "-F/tmp/ivrlg23999c4e2", "-f/tmp/ivrlg3999c4e2", "-p/tmp/ivrli3999c4e2"], 0x55a5f91aa2a8 /* 9 vars */) = 0
14    <... 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} ---
16    execve("/tmp/code", ["/tmp/code"], 0x5654bf9e7cf0 /* 9 vars */) = 0
15    execve("/bin/cat", ["cat", "-"], 0x5654bf9e7d08 /* 9 vars */) = 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    +++ 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"], 0x5654bf9e7c98 /* 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 +++