aboutsummaryrefslogtreecommitdiff
path: root/2022/01/first.b98
blob: 8cf9f8845941d16c99d56bc7318cd59496baee72 (plain)
1
2
3
4
5
6
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< $<