summaryrefslogtreecommitdiffstats
path: root/inf/aoc
diff options
context:
space:
mode:
Diffstat (limited to 'inf/aoc')
-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);
}