diff options
Diffstat (limited to '2024/01/puzzle-1.awk')
-rwxr-xr-x | 2024/01/puzzle-1.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/2024/01/puzzle-1.awk b/2024/01/puzzle-1.awk index ff361aa..851ecce 100755 --- a/2024/01/puzzle-1.awk +++ b/2024/01/puzzle-1.awk @@ -5,8 +5,8 @@ function abs(n) { } { - xs[++i] = $1 - ys[i] = $2 + xs[NR] = $1 + ys[NR] = $2 } END { |