Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

hex probability

Name: Anonymous 2011-04-13 8:43

A numeric string containing '1'..'F' is given. What's the probability that it's a hexadecimal number?

Name: Anonymous 2011-04-13 9:10

100% if (string-every (λ (x) (or (char>=? x #\1) (char<=? (char-downcase x) #\f))) str)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List