Result

AC

Duration

737ms

Code [DL]

module c;integer c,i=0,s=0,e=0;initial begin
c=$fgetc(1<<31);for(i=0;c+1;i++)begin if(c[4])s=i;if(c[6])e=i;c=$fgetc(1<<31);end
for(i=0;i<=e/51;i++)begin
for(c=0;c<51;c++)begin
if(c==s%51||(i==e/51&&c>=e%51&&c<=s%51)) $write("*");else $write(" ");end
$write("\n");end
end
endmodule

stdin

                              T                   
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
 K                                                

stdout

                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
                              *                    
 ******************************                    

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc71906750 /* 9 vars */) = 0
12    execve("/usr/local/bin/iverilog", ["/usr/local/bin/iverilog", "-o", "/tmp/code", "/volume/CODE"], 0x564c3ef13d50 /* 9 vars */) = 0
13    execve("/bin/sh", ["sh", "-c", "/usr/local/lib/ivl/ivlpp  -L -F\""...], 0x7ffe43da8e40 /* 9 vars */) = 0
15    execve("/usr/local/lib/ivl/ivl", ["/usr/local/lib/ivl/ivl", "-C/tmp/ivrlh65c2bef9", "-C/usr/local/lib/ivl/vvp.conf", "--", "-"], 0x560be8ffd2d0 /* 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"], 0x560be8ffd2e8 /* 9 vars */) = 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} ---
17    execve("/tmp/code", ["/tmp/code"], 0x564c3ef13cf0 /* 9 vars */ <unfinished ...>
16    execve("/bin/cat", ["cat", "-"], 0x564c3ef13d08 /* 9 vars */) = 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"], 0x564c3ef13c98 /* 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 +++