Result

AC

Duration

798ms

Code [DL]

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

stdin

355 538
211 428
255 336
358 581
774 476
617 712
866 669
725 924
322 428
825 292
768 687
239 336
185 232
933 197
911 514
573 331
263 387
578 846
662 226
245 744
688 881
215 191
597 776
949 892
726 994
629 567
411 125
754 745
944 112
499 165
451 553
424 661

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd66b312d0 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x557e270cdd18 /* 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"...], 0x557e270cdd68 /* 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"], 0x557e2736a1c0 /* 9 vars */) = 0
13    execve("/bin/cat", ["cat", "-"], 0x557e2736a0d8 /* 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"], 0x7ffca578c520 /* 9 vars */) = 0
15    execve("/bin/sed", ["sed", "s/.* \\(.\\)\\1.\\|..\\(.\\) .*/\\1\\2/"], 0x55fab3fe2880 /* 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=0} ---
16    execve("/bin/rm", ["rm", "/opt/jails/bash-busybox/code.bas"...], 0x557e270cdcc8 /* 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 +++