Result

WA

Duration

963ms

Code [DL]

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

stdin

732 322
543 441
733 228
377 712
293 394
597 752
458 772
612 981
418 186
435 318
415 514
322 227
938 683
433 112
835 458
138 235
557 773
479 766
474 334
454 359
384 752
499 991
188 298
588 989
951 449
278 899
539 994
199 945
626 347
322 723
588 598
614 117

stdout

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

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe1a3d11f0 /* 9 vars */) = 0
12    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x56034c068d18 /* 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"...], 0x56034c068d68 /* 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"], 0x56034d04d1c0 /* 9 vars */) = 0
14    execve("/bin/cat", ["cat", "-"], 0x56034d04d0d8 /* 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"], 0x7ffc754dae60 /* 9 vars */) = 0
16    execve("/bin/sed", ["sed", "s/.*\\(.\\)\\(\\1\\| \\).*/\\1/"], 0x55ca30320880 /* 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"...], 0x56034c068cc8 /* 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 +++