Result

WA

Duration

985ms

Code [DL]

                                   
                                 
                                                                                                                  
                                                                                                                     
                                                                                                  
                                                                                                                         
                                
                                             
                                                                                                                
          
                                    
                                                                                               
                                                                                           
                                                                         
                                                                                                                            
                                                                                                                            
                                                             
                                    
                                                                                               
                                                             
                                                                                                                              
                                               
                                                                                    
                                               
                                                                                             
                                                             
                                                               
                                                                                    
          
                                    
                                                                                               
                                                                                           
                                               
                                                                           
                                
                                          
                                               
                                                                                             
                                      
                                      
                                                             
                                                               
                                                                           
                                          
                                    
                                      
                                              
                                                                                                                   
                                                                                                         
                                                                                                                          
                                                                                                     

Disassembly

#!ruby -p
$_[I||=$_=~/T/]=?T
$_[/K */]&&=?K*$&.size

stdin

                T                                 
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
  K                                               

stdout

stderr

(eval):2:in `<main>': undefined method `[]=' for nil:NilClass (NoMethodError)
	from /root/copos-rb/copos.rb:1:in `eval'
	from /root/copos-rb/copos.rb:1:in `<main>'

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffa703b6b0 /* 9 vars */) = 0
12    execve("/usr/local/ruby-2.6.3/bin/ruby", ["/usr/local/ruby-2.6.3/bin/ruby", "/root/copos-rb/copos.rb", "/volume/CODE"], 0x56180fe19090 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x56180fe19068 /* 9 vars */) = 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} ---
12    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=1, si_utime=8, si_stime=2} ---
10    +++ exited with 1 +++