summaryrefslogtreecommitdiffstats
path: root/inf
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-12-15 00:38:24 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2022-12-15 00:38:24 +0100
commit341308c0714028484c4e1ae828c82e8d72ebf2e0 (patch)
treebb2d3b6fcba3804042ffcca705225e41c18f048b /inf
parentknjižnica (diff)
downloadsola-gimb-4-341308c0714028484c4e1ae828c82e8d72ebf2e0.tar
sola-gimb-4-341308c0714028484c4e1ae828c82e8d72ebf2e0.tar.gz
sola-gimb-4-341308c0714028484c4e1ae828c82e8d72ebf2e0.tar.bz2
sola-gimb-4-341308c0714028484c4e1ae828c82e8d72ebf2e0.tar.lz
sola-gimb-4-341308c0714028484c4e1ae828c82e8d72ebf2e0.tar.xz
sola-gimb-4-341308c0714028484c4e1ae828c82e8d72ebf2e0.tar.zst
sola-gimb-4-341308c0714028484c4e1ae828c82e8d72ebf2e0.zip
Diffstat (limited to '')
-rw-r--r--inf/aoc/1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/inf/aoc/1.c b/inf/aoc/1.c
index 4f01354..654df06 100644
--- a/inf/aoc/1.c
+++ b/inf/aoc/1.c
@@ -26,9 +26,8 @@ int main (void) {
}
c:
s = 0;
- } else {
+ } else
s += atoi(b);
- }
}
printf("%u %u %u sum %u\n", m, n, o, m+n+o);
}