Result

AC

Duration

814ms

Code [DL]

set IFS
while read a b c d e f
[ $b = $c ]&&echo $b||echo $e
end

stdin

711 331
435 994
265 516
623 673
695 456
487 783
848 448
833 237
544 498
931 331
452 156
783 387
599 771
867 976
614 611
991 116
515 155
389 773
277 778
775 645
433 518
193 339
267 672
289 843
992 114
833 859
584 348
459 581
399 993
466 468
144 468
534 475

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffff1642ca0 /* 9 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55c4093a3d18 /* 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/fish-shell-pure/code."...], 0x55c4093a3d68 /* 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", "-"], 0x55c40aaaa0e0 /* 9 vars */) = 0
14    execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/fish-shell-pure", "-x", "/bin/fish", "/code.fish"], 0x55c40aaaa1b0 /* 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/fish", ["/bin/fish", "/code.fish"], 0x7ffe036c0fc0 /* 9 vars */) = 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} ---
15    execve("/bin/rm", ["rm", "/opt/jails/fish-shell-pure/code."...], 0x55c4093a3cc8 /* 9 vars */) = 0
15    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++