aboutsummaryrefslogtreecommitdiff
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 }