Result

AC

Duration

886ms

Code [DL]

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

stdin

252 379
652 259
762 322
848 898
168 285
288 487
443 318
626 791
153 169
334 448
255 598
689 842
739 998
823 232
799 958
755 354
971 775
695 663
866 225
744 446
235 325
143 945
711 574
224 426
335 578
511 447
897 993
591 292
614 143
233 581
154 668
511 117

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffca0780700 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55cf3e568d18 /* 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"...], 0x55cf3e568d68 /* 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"], 0x55cf3f6611c0 /* 9 vars */) = 0
13    execve("/bin/cat", ["cat", "-"], 0x55cf3f6610d8 /* 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"], 0x7ffd639a01d0 /* 9 vars */) = 0
15    execve("/bin/sed", ["sed", "s/\\(.\\)\\1 / \\1/\ns/.*\\( .\\).*/\\1/"], 0x5604db0d7880 /* 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"...], 0x55cf3e568cc8 /* 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 +++