Advent of Code

Check-in [c0e1ec62fb]
Login

Check-in [c0e1ec62fb]

Overview
Comment:added include
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c0e1ec62fbc7119201278e1d89909f105b2a7943eb42c2f9ffc08b5259a82663
User & Date: nnz on 2024-12-04 09:41:13
Other Links: manifest | tags
Context
2024-12-04
09:41
added clang check-in: dcd83ba657 user: nnz tags: trunk
09:41
added include check-in: c0e1ec62fb user: nnz tags: trunk
09:30
_XOPEN_SOURCE removed check-in: 38646cdd7a user: nnz tags: trunk
Changes

Modified aoc2024.c from [f495d3d009] to [69856484c5].

1
2
3
4
5
6
7

8
9
10
11
12
13
14
#include <ctype.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>


#include "aocutils.h"

void aoc202403(char *data, size_t len) {
    (void)len; // unused argument
    unsigned sumproducts = 0, sumproducts2 = 0, term[2];
    char *rest = data;
    char *doleft = data;







>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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 aoc202403(char *data, size_t len) {
    (void)len; // unused argument
    unsigned sumproducts = 0, sumproducts2 = 0, term[2];
    char *rest = data;
    char *doleft = data;