Result

AC

Duration

805ms

Code [DL]

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

stdin

732 349
722 215
737 757
166 223
599 937
817 299
775 575
781 665
688 248
878 778
299 693
628 114
993 919
379 898
624 447
477 773
954 454
155 159
663 632
737 791
123 229
565 329
569 522
887 676
161 117
466 399
781 143
157 576
849 647
566 665
235 834
122 558

stdout

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

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffff047b4e0 /* 9 vars */) = 0
12    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x555ed80b8d18 /* 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"...], 0x555ed80b8d68 /* 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} ---
15    execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/bash-busybox", "-x", "/bin/bash", "/code.bash"], 0x555ed87921c0 /* 9 vars */ <unfinished ...>
14    execve("/bin/cat", ["cat", "-"], 0x555ed87920d8 /* 9 vars */ <unfinished ...>
15    <... execve resumed>)             = 0
14    <... execve resumed>)             = 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"], 0x7ffd0b970910 /* 9 vars */) = 0
16    execve("/bin/sed", ["sed", "s/.*\\(.\\)\\1.\\|..\\(.\\).*/\\1\\2/"], 0x560182456880 /* 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=0} ---
17    execve("/bin/rm", ["rm", "/opt/jails/bash-busybox/code.bas"...], 0x555ed80b8cc8 /* 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 +++