This website requires JavaScript.
Explore
Help
Sign In
setop
/
aoc2021
Watch
1
Star
0
Fork
You've already forked aoc2021
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
edd0059e7e
aoc2021
/
d01
/
d01_1.awk
5 lines
67 B
Awk
Raw
Normal View
History
Unescape
Escape
some code compaction
2021-12-02 08:46:21 +00:00
NR
==
1
{
A
=
$
1
;
next
}
$
1
>
A
{
N
++
}
{
A
=
$
1
}
END
{
print
N
}