by@eto_nagisa
AC
1545ms
$input|%{$_[2*($_[4] -eq $_[5])+2]}
133 961 563 331 522 725 399 955 569 697 581 885 288 881 387 778 465 618 429 336 768 154 143 361 421 157 631 731 522 227 576 873 561 167 826 553 455 343 877 559 522 727 522 553 856 656 933 351 433 897 792 985 713 933 561 774 736 334 651 519 562 426 418 928
3 3 2 9 9 8 8 7 5 3 8 3 1 1 2 6 1 5 5 5 2 5 6 3 3 2 3 7 3 1 2 8
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe9fa7e6a0 /* 6 vars */) = 0 12 execve("/usr/bin/pwsh", ["/usr/bin/pwsh", "/volume/CODE"], 0x556888f8ec28 /* 6 vars */ <unfinished ...> 11 execve("/bin/cat", ["cat", "-"], 0x556888f8ec10 /* 6 vars */ <unfinished ...> 12 <... execve resumed> ) = 0 11 <... execve resumed> ) = 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} --- 15 +++ exited with 0 +++ 16 +++ exited with 0 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 31 +++ exited with 0 +++ 32 +++ exited with 0 +++ 30 +++ exited with 0 +++ 29 +++ exited with 0 +++ 28 +++ exited with 0 +++ 27 +++ exited with 0 +++ 26 +++ exited with 0 +++ 25 +++ exited with 0 +++ 24 +++ exited with 0 +++ 23 +++ exited with 0 +++ 22 +++ exited with 0 +++ 21 +++ exited with 0 +++ 20 +++ exited with 0 +++ 19 +++ exited with 0 +++ 18 +++ exited with 0 +++ 17 +++ exited with 0 +++ 14 +++ exited with 0 +++ 13 +++ exited with 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=37, si_stime=15} --- 10 +++ exited with 0 +++