2022-01 in befunge!

This commit is contained in:
Julien Dessaux 2022-12-01 18:48:22 +01:00
parent c0877054bd
commit e669eefcee
Signed by: adyxax
GPG key ID: F92E51B86E07177E
4 changed files with 20 additions and 1 deletions

7
2022/01/first.b98 Normal file
View file

@ -0,0 +1,7 @@
00p10p;max in 0,0, current total in 1,0;v
>#;~:a-#v_$v@,a.g00; parses a number >
^+*a\-0'< : if not an empty line, add to total and read another number
^ p01+g01_v
^ vp00< >1v
^ >v $wg00:g0<
^p01< $<