index
:
advent-of-code
master
Solutions to Advent of Code
Thomas Voss
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
2016
/
03
/
puzzle-1.awk
blob: 809f12ccbf5896025a4ed351959f5beb9c1a1cfa (
plain
) (
blame
)
1
2
3
4
#!/usr/bin/awk -f
(
$
1
+
$
2
>
$
3
)
&&
(
$
2
+
$
3
>
$
1
)
&&
(
$
3
+
$
1
>
$
2
)
{
c
++
}
END
{
print
c
}