easters

easters.dev solutions (C)
git clone git://bsandro.tech/easters
Log | Files | Refs | LICENSE

commit 7b2a69401e1f3d6b419a75bccdd63c9b0026b4a9
parent aef5001cb579b0956500e7bcbf361476b0169744
Author: bsandro <email@bsandro.tech>
Date:   Sat, 17 Jan 2026 09:09:11 +0200

sunday fix

Diffstat:
Msunday.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sunday.c b/sunday.c @@ -1,6 +1,6 @@ #include <stdio.h> #include <stdbool.h> - +#include "cputime.h" #define LEN(x) (sizeof(x)/sizeof(*x)) typedef struct { @@ -115,7 +115,7 @@ int findMines(Map *m, Vec2 *nodules, int nodules_s, int mul) { int main(void) { Map map = {0}; - for (char c=getchar();c!=EOF;c=getchar()) { + for (int c=getchar();c!=EOF;c=getchar()) { if (c>='0'&&c<='9') { if (map.h==0) { map.xmines[map.w++]=c-'0';