Result

WA

Duration

850ms

Code [DL]

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

stdin

719 612
269 131
186 767
744 186
644 447
381 814
722 928
595 879
637 883
756 653
971 775
448 456
517 179
649 931
388 885
256 764
487 938
388 868
618 816
464 849
458 884
345 647
482 221
129 228
544 667
855 457
633 866
815 582
449 551
787 814
866 552
388 828

stdout

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

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffd8f53ac0 /* 9 vars */) = 0
12    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x5629781d3d18 /* 9 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("/bin/cp", ["cp", "-f", "/volume/CODE", "/opt/jails/bash-busybox/code.bas"...], 0x5629781d3d68 /* 9 vars */) = 0
13    +++ exited with 0 +++
11    --- 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/cat", ["cat", "-"], 0x5629797520d8 /* 9 vars */) = 0
15    execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/bash-busybox", "-x", "/bin/bash", "/code.bash"], 0x5629797521c0 /* 9 vars */) = 0
14    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    execve("/bin/bash", ["/bin/bash", "/code.bash"], 0x7fffb7bb2dd0 /* 9 vars */) = 0
16    execve("/bin/sed", ["sed", "s/.*\\(.\\)\\(\\1\\| \\).*/\\1/"], 0x555d45dd0880 /* 10 vars */) = 0
16    +++ exited with 0 +++
15    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
17    execve("/bin/rm", ["rm", "/opt/jails/bash-busybox/code.bas"...], 0x5629781d3cc8 /* 9 vars */) = 0
17    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
11    +++ exited with 0 +++