tcc: error: libtcc1.a not found
Error: execution of an external program failed: 'tcc -o test_acronym -lm -lm -lrt -ldl /root/.cache/nim/test_acronym_d/@m..@s..@snim@slib@ssystem@sexceptions.nim.c.o /root/.cache/nim/test_acronym_d/@m..@s..@snim@slib@sstd@ssysatomics.nim.c.o /root/.cache/nim/test_acronym_d/
...
My solution is:
import std/re
import std/strutils
proc abbreviate*(s: string): string =
var letters: seq[char] = @[]
for match in re.findAll(s, re"[A-Za-z']+"):
letters.add(strutils.toUpperAscii(match[0]))
result = letters.join
Is this an issue with the test runner? From the error it looks like an issue with the C compiler, but maybe there's a subtle issue with my code. Perhaps I am not supposed to use these standard libraries?
My solution runs locally but fails online with:
My solution is:
Is this an issue with the test runner? From the error it looks like an issue with the C compiler, but maybe there's a subtle issue with my code. Perhaps I am not supposed to use these standard libraries?