blob: 71d55a8536df73969ac28f6f356e67a44242b6c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env -S awk -f
BEGIN { RS = "" }
{
split($0, chars, "")
for (i = 1; i <= length; i++) {
if (chars[i] != "\n")
answers[chars[i]] = 1
}
sum += length(answers)
delete answers
}
END { print sum }
|