Result

AC

Duration

1005ms

Code [DL]

施「(""+require("fs").readFileSync(0)).match(/(.)\1 | ./g).map(x=>console.log(x[1]))」於一。

stdin

733 844
452 696
764 647
612 655
188 863
219 992
584 552
939 911
512 996
392 284
723 627
677 778
577 633
955 954
384 845
256 554
549 945
166 616
177 678
356 757
299 447
395 458
155 557
286 686
635 327
924 371
377 334
398 991
491 512
843 331
627 287
529 961

stdout

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

stderr

TypeError: ("" + require(...).readFileSync(...)).match(...).map(...) is not a function
    at eval (eval at <anonymous> (/usr/lib/node_modules/@wenyanlang/cli/index.min.js:2102:17), <anonymous>:1:93)
    at /usr/lib/node_modules/@wenyanlang/cli/index.min.js:2102:17
    at Object.evalCompiled (/usr/lib/node_modules/@wenyanlang/cli/index.min.js:2111:7)
    at exec (/usr/lib/node_modules/@wenyanlang/cli/index.min.js:2390:14)
    at Object.<anonymous> (/usr/lib/node_modules/@wenyanlang/cli/index.min.js:2250:42)
    at step (/usr/lib/node_modules/@wenyanlang/cli/index.min.js:2162:23)
    at Object.next (/usr/lib/node_modules/@wenyanlang/cli/index.min.js:2143:53)
    at /usr/lib/node_modules/@wenyanlang/cli/index.min.js:2137:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/lib/node_modules/@wenyanlang/cli/index.min.js:2133:12)

strace

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