Result

AC

Duration

943ms

Code [DL]

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

stdin

761 615
311 353
144 448
291 993
199 594
721 335
759 956
872 226
414 445
815 684
546 883
196 934
969 798
148 639
833 338
788 771
423 653
657 579
721 142
145 643
389 442
172 214
678 389
966 163
988 862
488 855
527 217
264 466
556 554
566 382
477 331
956 358

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffce7049a30 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55ad3197dd18 /* 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"...], 0x55ad3197dd68 /* 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} ---
13    execve("/bin/cat", ["cat", "-"], 0x55ad333600d8 /* 9 vars */) = 0
14    execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/bash-busybox", "-x", "/bin/bash", "/code.bash"], 0x55ad333601c0 /* 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"], 0x7ffe8a377c50 /* 9 vars */) = 0
15    execve("/bin/sed", ["sed", "s/.\\(.\\)\\1 .*/\\1/\nt\ns/.* \\(.\\).*"...], 0x557908df4880 /* 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"...], 0x55ad3197dcc8 /* 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 +++