by@lv100_official
WA
1147ms
for (i in 0 to 31) { let a = Node.Fs.readFileSync("/dev/stdin", `utf8); Js.log(String.sub(a, 4, 4)); };
478 677 446 556 466 667 688 557 956 553 964 542 315 774 268 645 565 667 375 957 519 159 757 763 719 495 423 192 844 246 351 114 545 459 877 771 881 188 922 353 977 948 988 829 113 319 922 212 366 569 995 952 966 557 554 445 558 774 215 561 198 564 969 569
Warning number 35 /tmp/code.re 1:1-4:1 1 │ for (i in 0 to 31) { 2 │ let a = Node.Fs.readFileSync("/dev/stdin", `utf8); 3 │ Js.log(String.sub(a, 4, 4)); 4 │ }; unused for-loop index i. internal/modules/cjs/loader.js:983 throw err; ^ Error: Cannot find module 'bs-platform/lib/js/string.js' Require stack: - /tmp/code.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15) at Function.Module._load (internal/modules/cjs/loader.js:862:27) at Module.require (internal/modules/cjs/loader.js:1042:19) at require (internal/modules/cjs/helpers.js:77:18) at Object.<anonymous> (/tmp/code.js:5:16) at Module._compile (internal/modules/cjs/loader.js:1156:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/tmp/code.js' ] }
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffded9d96d0 /* 9 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x565326339d18 /* 9 vars */) = 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/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.re"], 0x565326339d38 /* 9 vars */) = 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=0, si_stime=0} --- 13 execve("/usr/bin/bsc", ["/usr/bin/bsc", "/tmp/code.re"], 0x565326339d20 /* 9 vars */) = 0 13 execve("/bin/node", ["node", "/usr/bin/bsc", "/tmp/code.re"], 0x7ffdfbd21270 /* 9 vars */) = -1 ENOENT (No such file or directory) 13 execve("/usr/local/sbin/node", ["node", "/usr/bin/bsc", "/tmp/code.re"], 0x7ffdfbd21270 /* 9 vars */) = -1 ENOENT (No such file or directory) 13 execve("/usr/local/bin/node", ["node", "/usr/bin/bsc", "/tmp/code.re"], 0x7ffdfbd21270 /* 9 vars */) = -1 ENOENT (No such file or directory) 13 execve("/usr/sbin/node", ["node", "/usr/bin/bsc", "/tmp/code.re"], 0x7ffdfbd21270 /* 9 vars */) = -1 ENOENT (No such file or directory) 13 execve("/usr/bin/node", ["node", "/usr/bin/bsc", "/tmp/code.re"], 0x7ffdfbd21270 /* 9 vars */) = 0 20 execve("/usr/lib/node_modules/bs-platform/linux/bsc.exe", ["/usr/lib/node_modules/bs-platfor"..., "/tmp/code.re"], 0x563f30b7df60 /* 9 vars */) = 0 21 execve("/bin/sh", ["sh", "-c", "/usr/lib/node_modules/bs-platfor"...], 0x7ffff6aaf620 /* 9 vars */) = 0 21 execve("/usr/lib/node_modules/bs-platform/linux/refmt.exe", ["/usr/lib/node_modules/bs-platfor"..., "--print=binary", "/tmp/code.re"], 0x557fe8714090 /* 9 vars */) = 0 21 +++ exited with 0 +++ 20 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 20 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=1, si_stime=0} --- 18 +++ exited with 0 +++ 17 +++ exited with 0 +++ 16 +++ exited with 0 +++ 15 +++ exited with 0 +++ 14 +++ exited with 0 +++ 19 +++ exited with 0 +++ 13 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=6, si_stime=1} --- 23 execve("/usr/bin/node", ["/usr/bin/node", "/tmp/code.js"], 0x565326339d48 /* 9 vars */) = 0 22 execve("/bin/cat", ["cat", "-"], 0x565326339d38 /* 9 vars */) = 0 22 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 25 +++ exited with 0 +++ 28 +++ exited with 0 +++ 26 +++ exited with 0 +++ 27 +++ exited with 0 +++ 24 +++ exited with 0 +++ 29 +++ exited with 1 +++ 23 +++ exited with 1 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=23, si_uid=0, si_status=1, si_utime=7, si_stime=0} --- 30 execve("/bin/rm", ["rm", "/tmp/code.js", "/tmp/code.re"], 0x565326339cf0 /* 9 vars */) = 0 30 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++