Result

WA

Duration

5171ms

Code [DL]

i=x=z=0whend is0{i=i+1x=x+1b=p==x
c=z+b+orda[i]writechrc
d=0}whenc is10x=0whenc is84p=i whenc is75z=1whenc is34z=0a=reada d=0

stdin

                            T                     
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                        K                         

stdout

                           T                     
                           !                      
                           !                      
                           !                      
                           !                      
                           !                      
                           !                      
                           !                      
                           !                      
                           !                      
                           !                      
                           !                      
                          

stderr

/root/MaybeLater/interpreter.js:157
var parseIndex = function(ind, scope){
                         ^

RangeError: Maximum call stack size exceeded
    at parseIndex (/root/MaybeLater/interpreter.js:157:26)
    at parseExpression (/root/MaybeLater/interpreter.js:59:10)
    at parseListExp (/root/MaybeLater/interpreter.js:112:11)
    at eventaction (/root/MaybeLater/interpreter.js:357:12)
    at parseExpression (/root/MaybeLater/interpreter.js:62:10)
    at parseExpression (/root/MaybeLater/interpreter.js:26:10)
    at parseArithmatic (/root/MaybeLater/interpreter.js:176:14)
    at parseExpression (/root/MaybeLater/interpreter.js:41:10)
    at parseExpression (/root/MaybeLater/interpreter.js:26:10)
    at parseArithmatic (/root/MaybeLater/interpreter.js:176:14)

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe0e53a0c0 /* 7 vars */) = 0
13    execve("/usr/bin/node", ["/usr/bin/node", "/root/MaybeLater/interpreter.js", "/volume/CODE"], 0x5626c0e2e068 /* 7 vars */ <unfinished ...>
12    execve("/bin/cat", ["cat", "-"], 0x5626c02a0d70 /* 7 vars */) = 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} ---
13    <... execve resumed> )            = 0
20    +++ exited with 0 +++
23    +++ exited with 0 +++
22    +++ exited with 0 +++
21    +++ exited with 0 +++
17    +++ exited with 1 +++
19    +++ exited with 1 +++
18    +++ exited with 1 +++
16    +++ exited with 1 +++
15    +++ exited with 1 +++
14    +++ exited with 1 +++
13    +++ exited with 1 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=19, si_stime=4} ---
11    +++ exited with 1 +++