Files
advent-of-code-2023/day_5.c
2023-12-08 05:11:01 +01:00

24 lines
383 B
C

//
// Created by lennart on 12/7/23.
//
#include <stdio.h>
#include <assert.h>
#include "map.h"
int main() {
Map *map = map_create();
map_put(map, 0x0, 1);
map_put(map, 0x10, 2);
for(int i = 0; i < 10000; i++) {
map_put(map, i, i + 1);
}
// for(int i = 0; i < 10000; i++) {
// assert(map_get(map, i) == i + 1);
// }
map_free(map);
}