Result

AC

Duration

918ms

Code [DL]

施「(s=>console.log(`${require("fs").readFileSync(0)}`.replace(/.+/g,x=>x[1]-x[2]?x[4]:x[1])))」於一。

stdin

644 375
552 558
445 528
813 316
122 263
872 781
244 244
577 779
966 668
713 136
278 886
217 561
584 414
299 944
775 755
979 775
733 115
881 725
615 819
822 824
493 334
494 645
215 778
893 968
891 191
232 744
911 987
634 646
211 552
996 772
423 122
979 326

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd8c44b370 /* 9 vars */) = 0
12    execve("/usr/bin/wenyan", ["/usr/bin/wenyan", "/volume/CODE"], 0x556aa900ad40 /* 9 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x556aa900ad30 /* 9 vars */ <unfinished ...>
12    <... execve resumed>)             = 0
11    <... execve resumed>)             = 0
12    execve("/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe926d57e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
12    execve("/usr/local/sbin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe926d57e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
12    execve("/usr/local/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe926d57e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
12    execve("/usr/sbin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe926d57e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
12    execve("/usr/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe926d57e0 /* 9 vars */ <unfinished ...>
11    +++ exited with 0 +++
12    <... execve resumed>)             = 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} ---
16    +++ exited with 0 +++
15    +++ exited with 0 +++
17    +++ exited with 0 +++
14    +++ exited with 0 +++
13    +++ exited with 0 +++
18    +++ 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=12, si_stime=1} ---
10    +++ exited with 0 +++