Result

WA

Duration

896ms

Code [DL]

施「(s=>{`${require("fs").readFileSync(0)}`.split`
`.map(s=>console.log(s[s[1]-s[2]?4:1]))})」於一。

stdin

142 282
766 644
788 988
651 994
278 815
115 512
919 195
246 414
255 573
927 214
633 446
511 117
964 163
944 923
493 761
184 678
144 447
698 447
496 627
578 473
192 224
719 598
752 257
877 818
632 221
745 443
822 127
513 118
455 117
819 196
799 988
838 982

stdout

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

stderr

strace

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