Result

WA

Duration

804ms

Code [DL]

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

stdin

551 813
913 983
766 452
729 882
685 564
633 669
448 624
157 935
235 736
466 614
839 441
946 665
364 667
568 635
717 375
266 834
796 974
236 639
721 116
197 977
148 944
133 332
233 313
249 498
433 439
755 338
644 854
683 386
299 198
171 166
461 669
788 881

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffad055230 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x561216e10d40 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x561216e10d30 /* 7 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} ---
14    +++ exited with 0 +++
15    +++ exited with 0 +++
17    +++ exited with 0 +++
16    +++ 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=4, si_stime=1} ---
10    +++ exited with 0 +++