Overview
| Comment: | changed empty values to work with part two |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
c93635c614757d7347a13a91a745d643 |
| User & Date: | nnz on 2024-12-09 12:24:52.362 |
| Other Links: | manifest | tags |
Context
|
2024-12-09
| ||
| 12:52 | changed empty values again to work with part two check-in: cf1a1232c2 user: nnz tags: trunk | |
| 12:24 | changed empty values to work with part two check-in: c93635c614 user: nnz tags: trunk | |
| 11:50 | 202409 1st star check-in: 8682072363 user: nnz tags: trunk | |
Changes
Modified aoc2024.c
from [3ba7100c1a]
to [694ae36748].
| ︙ | |||
31 32 33 34 35 36 37 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | - + + + + + - + - + + + + |
if (*data) {
for (int k = 0; k < *data - '0'; k++) {
if (ndisk == rdisk) {
// assume it works
rdisk = (13*rdisk)/8;
disk = realloc(disk, rdisk * sizeof *disk);
}
|
| ︙ |