mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
feat: usage of ESM modules imports (instead of CommonJS) (#14)
This commit is contained in:
@ -16,7 +16,7 @@ char* convert_from_base_10_to_base(unsigned long number, unsigned int base) {
|
||||
if (number == 0) {
|
||||
return "0";
|
||||
}
|
||||
int remainders[64] = {};
|
||||
int remainders[64];
|
||||
int index = 0;
|
||||
while (number > 0) {
|
||||
remainders[index] = number % base;
|
||||
|
Reference in New Issue
Block a user