15 个版本 (5 个重大更改)
| 0.6.1 | 2023年12月27日 |
|---|---|
| 0.6.0 | 2023年12月26日 |
| 0.5.0 | 2023年12月17日 |
| 0.4.1 | 2023年12月16日 |
| 0.1.1 | 2023年11月19日 |
#784 在 算法
每月下载量:49
26KB
422 行
Advent Of Code Helpers
一系列结构和相关方法,可能在解决 Advent Of Code 挑战时有用
Direction- 罗盘方向Coordinate- 标准二维笛卡尔坐标系Particle- 带有罗盘方向的位置Rectangle- 描述矩形的坐标对Coordinate3d- 标准三维笛卡尔坐标系Cuboid- 描述长方体的三维坐标对ScoredItem- 与 std::collections::BinaryHeap 一起使用以实现 A* 或 Dijkstra 算法get_daily_input()- 获取并缓存给定日期谜题的输入parse_number_grid<T>()- 将 0-9 位的网格转换为 HashMap
依赖关系
~5–17MB
~241K SLoC