Result

AC

Duration

915ms

Code [DL]

sed 's/.\(.\)\1 / \1/
s/.*\( .\).*/\1/'

stdin

922 268
399 481
599 695
836 335
577 776
617 176
391 196
828 668
323 665
398 196
447 172
587 884
972 348
458 819
711 923
646 663
914 414
455 535
655 446
554 483
743 648
347 497
763 417
986 469
955 551
415 239
272 221
955 226
944 474
749 491
711 913
565 675

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffbb8772a0 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55ecde731d18 /* 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"...], 0x55ecde731d68 /* 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} ---
13    execve("/bin/cat", ["cat", "-"], 0x55ecdf4aa0d8 /* 9 vars */) = 0
14    execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/bash-busybox", "-x", "/bin/bash", "/code.bash"], 0x55ecdf4aa1c0 /* 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("/bin/bash", ["/bin/bash", "/code.bash"], 0x7fff7898e200 /* 9 vars */) = 0
15    execve("/bin/sed", ["sed", "s/.\\(.\\)\\1 / \\1/\ns/.*\\( .\\).*/\\1"...], 0x55b5a9f09880 /* 10 vars */) = 0
15    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
16    execve("/bin/rm", ["rm", "/opt/jails/bash-busybox/code.bas"...], 0x55ecde731cc8 /* 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 +++