YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
4
Task/Pangram-checker/Befunge/pangram-checker.bf
Normal file
4
Task/Pangram-checker/Befunge/pangram-checker.bf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
>~>:65*`!#v_:"`"`48*v>g+04p1\4p
|
||||
^#*`\*93\`0<::-"@"-*<^40!%2g4:_
|
||||
"pangram."<v*84<_v#-":"g40\" a"
|
||||
>>:#,_55+,@>"ton">48*>"si tahT"
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import rdstdin
|
||||
|
||||
proc isPangram(sentence; alphabet = {'a'..'z'}): bool =
|
||||
proc isPangram(sentence: string, alphabet = {'a'..'z'}): bool =
|
||||
var sentset: set[char] = {}
|
||||
for c in sentence: sentset.incl c
|
||||
alphabet <= sentset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue