Advent of Code

Check-in [ab3c10d320]
Login

Check-in [ab3c10d320]

Overview
Comment:202405 -- tiny mistake
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ab3c10d32039aace9800533333f0883d503bbe28c47eb215c1013be3544b2867
User & Date: nnz on 2024-12-05 10:53:47
Other Links: manifest | tags
Context
2024-12-05
11:12
202405 -- read first part of data check-in: 7cae0b9197 user: nnz tags: trunk
10:53
202405 -- tiny mistake check-in: ab3c10d320 user: nnz tags: trunk
10:53
202405 -- download input, prepare skeleton check-in: 3ff4b256a5 user: nnz tags: trunk
Changes

Modified aoc2024.c from [05aabc9e08] to [4fa15782cd].

1
2
3
4
5
6
7
8
9
10

11
12
13
14
15
16
17
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17









-
+







#include <ctype.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "aocdailies.h"
#include "aocutils.h"

void aoc202404(char *data, size_t len) {
void aoc202405(char *data, size_t len) {
    (void)data; // unused argument
    (void)len; // unused argument
    printf("wip/n");
}
static size_t rcmap(unsigned size, unsigned row, unsigned col) {
    return row * (size + 1) + col;
}