1
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
Mia Herkt 824fe43fe6
07: C: Faster number conversion 2022-12-08 02:38:36 +01:00
Mia Herkt 5cb23bf245
07: C: Use mmap instead of fgets 2022-12-08 02:38:36 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ int main(int argc, char **argv) {
current = root;
if (argc == 4)
required = strtoul(argv[2], NULL, 10) - (strtoul(argv[1], NULL, 10) - root->size);
required = strtoul(argv[3], NULL, 10) - (strtoul(argv[2], NULL, 10) - root->size);
else
required = 30000000UL - (70000000UL - root->size);
do {