Result

WA

Duration

2972ms

Code [DL]

=REGEX(A1;".(.)\1 ...|... (.)..";"$1$2";"g")

stdin

981 838
799 496
881 971
388 959
991 913
133 668
188 988
577 827
149 542
155 559
546 951
246 743
794 556
366 643
924 493
382 886
466 117
385 554
912 215
453 448
786 567
427 778
996 941
784 641
438 271
751 178
865 664
876 762
933 335
622 287
227 724
538 299

stdout

stderr

/root/node_modules/csv-parse/lib/sync.js:21
  if(err1 !== undefined) throw err1
                         ^

CsvError: Invalid Opening Quote: a quote is found inside a field at line 1
    at Parser.__parse (/root/node_modules/csv-parse/lib/index.js:539:19)
    at module.exports (/root/node_modules/csv-parse/lib/sync.js:20:23)
    at Object.<anonymous> (/root/calc-preprocess.js:13:14)
    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)
    at internal/main/run_main_module.js:18:47 {
  code: 'INVALID_OPENING_QUOTE',
  column: 0,
  empty_lines: 0,
  header: false,
  index: 0,
  invalid_field_length: 0,
  quoting: false,
  lines: 1,
  records: 0,
  field: '=REGEX(A1;'
}
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
convert /tmp/code.csv -> /tmp/out/code.csv using filter : Text - txt - csv (StarCalc)
/root/calc-postprocess.js:15
process.stdout.write(data[1][0]);
                            ^

TypeError: Cannot read property '0' of undefined
    at Object.<anonymous> (/root/calc-postprocess.js:15:29)
    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)
    at internal/main/run_main_module.js:18:47

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff65040be0 /* 7 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55e4b189fd18 /* 7 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/cat", ["cat", "-"], 0x55e4b189fd00 /* 7 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/node", ["/usr/bin/node", "/root/calc-preprocess.js", "/tmp/input", "/volume/CODE"], 0x55e4b2c1d078 /* 7 vars */) = 0
18    +++ exited with 0 +++
17    +++ exited with 0 +++
15    +++ exited with 0 +++
16    +++ exited with 0 +++
14    +++ exited with 0 +++
19    +++ exited with 1 +++
13    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=7, si_stime=1} ---
20    execve("/bin/mkdir", ["mkdir", "-p", "/tmp/out"], 0x55e4b189fce0 /* 7 vars */) = 0
20    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
21    execve("/usr/bin/soffice", ["/usr/bin/soffice", "--convert-to", "csv", "--outdir", "/tmp/out", "/tmp/code.csv"], 0x55e4b2c1d0a8 /* 7 vars */) = 0
22    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
23    execve("/usr/bin/dirname", ["dirname", "/usr/bin/soffice"], 0x55b7c82575e0 /* 9 vars */) = 0
23    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=23, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
24    execve("/usr/bin/basename", ["basename", "/usr/bin/soffice"], 0x55b7c82575f0 /* 10 vars */) = 0
24    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
26    execve("/bin/ls", ["ls", "-l", "soffice"], 0x55b7c82579f8 /* 10 vars */) = 0
27    execve("/bin/sed", ["sed", "s/.*soffice -> //g"], 0x55b7c82579e0 /* 10 vars */) = 0
26    +++ exited with 0 +++
25    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=26, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
27    +++ exited with 0 +++
25    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
25    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
28    execve("/usr/bin/dirname", ["dirname", "/usr/lib/libreoffice/program/sof"...], 0x55b7c7440d30 /* 10 vars */) = 0
28    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
29    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
30    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
31    execve("/bin/grep", ["grep", "-q", "cc"], 0x55b7c8257170 /* 10 vars */) = 0
31    +++ exited with 1 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
32    execve("/bin/uname", ["uname", "-s"], 0x55b7c8257600 /* 10 vars */) = 0
32    +++ exited with 0 +++
21    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
21    execve("/usr/lib/libreoffice/program/oosplash", ["/usr/lib/libreoffice/program/oos"..., "--convert-to", "csv", "--outdir", "/tmp/out", "/tmp/code.csv"], 0x55b7c8259d70 /* 9 vars */) = 0
34    execve("/usr/lib/libreoffice/program/javaldx", ["/usr/lib/libreoffice/program/jav"..., "-env:INIFILENAME=vnd.sun.star.pa"...], 0x7ffe04ff6f30 /* 9 vars */) = 0
34    +++ exited with 255 +++
33    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=34, si_uid=0, si_status=255, si_utime=1, si_stime=1} ---
33    +++ exited with 0 +++
36    execve("/usr/lib/libreoffice/program/soffice.bin", ["/usr/lib/libreoffice/program/sof"..., "--convert-to", "csv", "--outdir", "/tmp/out", "/tmp/code.csv"], 0x7ffe04ff6f30 /* 9 vars */) = 0
37    +++ exited with 1 +++
36    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=37, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
39    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=36, si_uid=0} ---
38    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=36, si_uid=0} ---
38    +++ exited with 0 +++
40    +++ exited with 0 +++
39    +++ exited with 0 +++
36    +++ exited with 81 +++
35    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=36, si_uid=0, si_status=81, si_utime=30, si_stime=15} ---
35    +++ exited with 0 +++
42    execve("/usr/lib/libreoffice/program/soffice.bin", ["/usr/lib/libreoffice/program/sof"..., "--convert-to", "csv", "--outdir", "/tmp/out", "/tmp/code.csv"], 0x7ffe04ff6f30 /* 9 vars */) = 0
43    +++ exited with 1 +++
42    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=43, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
45    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=42, si_uid=0} ---
44    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=42, si_uid=0} ---
44    +++ exited with 0 +++
45    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=42, si_uid=0} ---
46    execve("/bin/sh", ["sh", "-c", "paperconf 2>/dev/null"], 0x5587faf22880 /* 12 vars */) = 0
46    +++ exited with 127 +++
42    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=46, si_uid=0, si_status=127, si_utime=0, si_stime=0} ---
47    execve("/bin/sh", ["sh", "-c", "paperconf 2>/dev/null"], 0x5587faf22880 /* 12 vars */) = 0
47    +++ exited with 127 +++
42    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=47, si_uid=0, si_status=127, si_utime=0, si_stime=0} ---
48    +++ exited with 0 +++
49    +++ exited with 0 +++
45    +++ exited with 0 +++
42    +++ exited with 0 +++
41    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=42, si_uid=0, si_status=0, si_utime=45, si_stime=15} ---
41    +++ exited with 0 +++
21    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
50    execve("/usr/bin/node", ["/usr/bin/node", "/root/calc-postprocess.js", "/tmp/out/code.csv"], 0x55e4b189fd28 /* 7 vars */) = 0
55    +++ exited with 0 +++
52    +++ exited with 0 +++
51    +++ exited with 0 +++
54    +++ exited with 0 +++
53    +++ exited with 0 +++
56    +++ exited with 1 +++
50    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=50, si_uid=0, si_status=1, si_utime=5, si_stime=1} ---
57    execve("/bin/rm", ["rm", "-rf", "/tmp/out", "/tmp/code.csv", "/tmp/input"], 0x55e4b2c1d028 /* 7 vars */) = 0
57    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=57, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++