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
e3c1f47592
aoc2021
/
d08
/
d08_1.awk
4 lines
86 B
Awk
Raw
Blame
History
BEGIN
{
FS
=
" |"
}
{
for
(
i
=
11
;
i
<=
NF
;
i
++
)
{
A
[
length
(
$
i
)
]
++
}
}
END
{
print
A
[
2
]
+
A
[
3
]
+
A
[
4
]
+
A
[
7
]
}
Reference in New Issue
View Git Blame
Copy Permalink