Result

WA

Duration

1712ms

Code [DL]

sed s/{'\(.\)\1 / ','.*\( .\).*/'}\1/

stdin

935 772
315 811
588 865
322 116
611 165
369 297
795 956
339 394
599 115
455 556
233 835
469 317
171 775
144 851
371 726
616 119
511 119
241 143
187 778
411 244
497 968
484 429
855 679
336 665
718 619
467 766
151 214
511 716
878 238
456 498
791 224
661 145

stdout

stderr

sed: s/.*\( .\).*/1/: No such file or directory

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff0bab7290 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x5623ed932d18 /* 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    execve("/bin/cp", ["cp", "-f", "/volume/CODE", "/opt/jails/bash-busybox/code.bas"...], 0x5623ed932d68 /* 9 vars */) = 0
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/bash-busybox", "-x", "/bin/bash", "/code.bash"], 0x5623ef6471c0 /* 9 vars */ <unfinished ...>
13    execve("/bin/cat", ["cat", "-"], 0x5623ef6470d8 /* 9 vars */) = 0
13    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    <... execve resumed>)             = 0
14    execve("/bin/bash", ["/bin/bash", "/code.bash"], 0x7fff3e88a050 /* 9 vars */) = 0
15    execve("/bin/sed", ["sed", "s/\\(.\\)\\1 / 1/", "s/.*\\( .\\).*/1/"], 0x55c21b59f880 /* 10 vars */) = 0
15    +++ exited with 1 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
14    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
16    execve("/bin/rm", ["rm", "/opt/jails/bash-busybox/code.bas"...], 0x5623ed932cc8 /* 9 vars */) = 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} ---
10    +++ exited with 0 +++