Skip to main content
Shaved off another 11 chars due to suggestions and smaller list of words
Source Link
Nejc
  • 241
  • 1
  • 4

Python - Bytes: 44224411, False +ves: 0, False -ves: 0 = Score: 44224411

import base64,zlib,sys;T=eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCVaA8k0Ve4o9EgmChUAD1z9tfb3/+8/b25x9f3Vv//LN7O9z/ivdf8/3Xmn/dP/jrp3tL+bPD/a/b/dfjr8cbW"eNqdXEF24zYMPY43XHTdG/ls9+arLQYskjbGlGUSlFONH25e8cehySAD8rtLPIyji2JIPDx8QH6n9Nfpz/769z1f9po/OZ3+/3i3+30VL+7j7v+56jOn+999vt1U3ynm73s6gO73fZ9XOuZJlss5nKTPH8uvDOPLnLrXr+bUP36Ljx/Kl7m3M1igTm+TsHl8M938z48eafzze+OufOaX83uHx2/8i03tGuZQp3x4/Hs5GLVNOZxISfFsoXnPLQnPpIhJWa85DPdOanb8w97ea85ueqDv/PrLmGRC7bPleKVt0hOU4y8U7yRuQKf1+Y7n57zpfd8vuffzW/u0jzxPq6Ab1nzQO6VKsV87geb236reLR8mo+f6WvvpLUcpTFd3ICxd2veQATrlWq55SkRRr+LIfezjf7Z6z/3fWzOi7y28ql8xUN+Xxe5dvF+o7xfx5Bx/SLn8zRXqF5QnkLMuZSprvpyMX9b+VVtt3JNAinHbJqAEKCMA/ZzZGdcnZhtSkJBmLrsL7v60qXvMhyOSsX6fLb8usDfcmcpmyNsrBAV/1Faf8oH/su2hdv7BsBHi31kOpsYNsOKUL+015nmEoINcWOlMoXbBGlgmNaeynRa9aCveeM4TOcDOPmRoD89yPfcpd2LUvo8vPs4CLVcgJZ8MtC+YIhP5plb4lip+b8yDe48l9vWfMKgF32fK+ULTqJ7bjRzbvSG4Al/maCbby90VWssnL97SDdBWcvAO6SzToqjnWUSXiTGAF1O56OoMjaPG92Of8ntdOnWf7D8vjvQs0T6+t66T1rfqCx2q2Yn+v5p53/T61D3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Q2SBLafzsVqMPdCBiwKASF0c7G0Lr37Cv9dZtcz7BoNlNfExjRPMTBn8/HbiTS48aY60zG8quaq1SrWP8v5u4eb7DzeJciM3Dq3rBzy+yAnDis8zoenImt8qCVDMHdbP7nFfnx2GQpnT4s0awP0TOOroBN113Izy2XzjaP5nvrv0ZvRFHqYWuKbDLnV8Q6vylPneaOZDh84G2krDZ7cac6ADEAMGVrhYONngW+e3Ex5ywUVzhG1+Vcllo1VsfBTPdxM3P/KlxQlEkLNq8Pa88+xeOWIxydLyyKO8ezNxCbHbe5yk0gDuXFonddPjROKpGDh5u1w59m9ccRiok+HO4v07l6tLUiw4/igz12tD8+l5v93EmRBFHWrluDc2nw/lohuyQ8IfM2+fm9qZPVivSIfTzARq6i20XOi9bOPAEt5r9uF9vnUXntmMpiw7ag37oE2vEerj0e1uV3IkcBu51FcnspkrplP7N2ATMh/ffHmQzPlEWmqfLakhy9LyWN5seLEglTa9Mt0it568YVDXSqsuZPM5NcF0ifCTfS+BrzvU7VSOrN+sd+TiIhWhNtR2eE62/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj+0hgKZ51G+GcT+21NySDEdtOPHB7OPAetTkeNuY2giOB5uCruByUyWyznj6ev+3pMD5QFpqny2pIsvC8llOHHjRIBUOvSLdIre9fUahqPPhGH/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3LQ9dSoqEyi+tSYsU2NERITZoahEv9aOqdEJy4+x8Z0q8jgbPJpX14rIP2PjdMGsOShKv5L0eq2nzQ+D7vDw7ztfW9T6pit6MryDiQ+NVmlfU8KCpzgdJbwGWuwnONNMzFyXc/lTHxo"8CxiN8aA==")));t=T;f=1
for c in sys.argv[1]:
 C=c.lower()
 if c in t:t=t[c]
 elif f and C in t:f=0;t=t[C]
 else:print Falset={}
print""in t
import base64, zlib, sys

TRIE = eval(zlib.decompress(base64.b64decode("eNqdXEt24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0awP0TOOroBN113Izy2XzjaP5nvrv0ZvRFHqYWuKbDLnV8Q6vylPneaOZDh84G2krDZ7cac6ADEAMGVrhYONngW+e3Ex5ywUVzhG1+Vcllo1VsfBTPdxM3P/KlxQlEkLNq8Pa88+xeOWIxydLyyKO8ezNxCbHbe5yk0gDuXFonddPjROKpGDh5u1w59m9ccRiok+HO4v07l6tLUiw4/igz12tD8+l5v93EmRBFHWrluDc2nw/lohuyQ8IfM2+fm9qZPVivSIfTzARq6i20XOi9bOPAEt5r9uF9vnUXntmMpiw7ag37oE2vEerj0e1uV3IkcBu51FcnspkrplP7N2ATMh/ffHmQzPlEWmqfLakhy9LyWN5seLEglTa9Mt0it568YVDXSqsuZPM5NcF0ifCTfS+BrzvU7VSOrN+sd+TiIhWhNtR2eE62/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj+0hgKZ51G+GcT+21NySDEdtOPHB7OPAetTkeNuY2giOB5uCruByUyWyznj6ev+3pMD5QFpqny2pIsvC8llOHHjRIBUOvSLdIre9fUahqPPhGH/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3LQ9dSoqEyi+tSYsU2NERITZoahEv9aOqdEJy4+x8Z0q8jgbPJpX14rIP2PjdMGsOShKv5L0eq2nzQ+D7vDw7ztfW9T6pit6MryDiQ+NVmlfU8KCpzgdJbwGWuwnONNMzFyXc/lTHxo"8CxiN8aA==")))

trie = TRIE
first = True
for character in sys.argv[1]:
    CHARACTER = character.lower()
    if character in trie:
        trie = trie[character]
    elif first and CHARACTER in trie:
        first = False
        trie = trie[CHARACTER]
    else:
        print False
if "" not in trie:
    print False
print True

Python - Bytes: 4422, False +ves: 0, False -ves: 0 = Score: 4422

import base64,zlib,sys;T=eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCVaA8k0Ve4o9EgmChUAD1z9t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gOqNWlqH44602uGb54BXPJ3y308DcxG5WnYsQVyZn53tSJBfQhOpzuZoNfAaSUg058z7TvlZBRmOCBB6Hdl2MF9SzGRLqIaaXVP3Eh2tE1FZjltJewONNj+aeZJr9S+e+JHx4bVDjDvNAnYTCMhzkQy8YG9s9FSr4nYy26WhfA8FgAb7Zy5BOlRJ6gEELPC0uxrpRhqeZOgZrVMnPKaoYwpExrxK77FafWq0TDAPIgRdZb3dQUVu28szcqwZdC9wayjR6mfoLVfi5V1RGZ2NhBaOSZ9fIQz/70AW1MkcLUqHXSXVt57owG0oKjPqVIfjR2va8uXNkJqAtrBOJaOFl5FRDjFdVURvtbb2cke0es3U5plI3Wiymv+/Yd+qrbtmf0LHejf5MY0L65/o+PM56PFFTRhWfp6JdUfW/NYIgNB3WI898Lq+OgzFIqfjizWQ+ydy1NED3fXajDi20Dia/5nvjt7MHuTR1QLXuFulji9oVUEy37OMfOzQ2SBLafzsVqMPdCBiwKASF0c7G0Lr/HbiTS48aY60zG8quaq1SrWP8v5u4eb7DzeJciM3Dq3r/KlxQlEkLNq8Pa88+xeOWIxydLyyKO8ezNxCbHbe/igz12tD8+l5v93EmRB/lohuyQ8IfM2+fm9qZPVivSIfTzARq6i20XOi9bOPAEt5r9uF9vnUXntmMpiw7ag37oE2vEerj0e1uV3IkcBu51FcnspkrplP7/ffHmQzPlEWmqfLakhy9LyWN5seLEglTa9Mt0it568YVDXSqsuZPM5Nc/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3L/lTHxo")));t=T;f=1
for c in sys.argv[1]:
 C=c.lower()
 if c in t:t=t[c]
 elif f and C in t:f=0;t=t[C]
 else:print False
print""in t
import base64, zlib, sys

TRIE = eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCV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dvFAyEKS6Gkw70QB9WSPBEgOqNWlqH44602uGb54BXPJ3y308DcxG5WnYsQVyZn53tSJBfQhOpzuZoNfAaSUg058z7TvlZBRmOCBB6Hdl2MF9SzGRLqIaaXVP3Eh2tE1FZjltJewONNj+aeZJr9S+e+JHx4bVDjDvNAnYTCMhzkQy8YG9s9FSr4nYy26WhfA8FgAb7Zy5BOlRJ6gEELPC0uxrpRhqeZOgZrVMnPKaoYwpExrxK77FafWq0TDAPIgRdZb3dQUVu28szcqwZdC9wayjR6mfoLVfi5V1RGZ2NhBaOSZ9fIQz/70AW1MkcLUqHXSXVt57owG0oKjPqVIfjR2va8uXNkJqAtrBOJaOFl5FRDjFdVURvtbb2cke0es3U5plI3Wiymv+/Yd+qrbtmf0LHejf5MY0L65/o+PM56PFFTRhWfp6JdUfW/NYIgNB3WI898Lq+OgzFIqfjizWQ+ydy1NED3fXajDi20Dia/5nvjt7MHuTR1QLXuFulji9oVUEy37OMfOzQ2SBLafzsVqMPdCBiwKASF0c7G0Lr/HbiTS48aY60zG8quaq1SrWP8v5u4eb7DzeJciM3Dq3r/KlxQlEkLNq8Pa88+xeOWIxydLyyKO8ezNxCbHbe/igz12tD8+l5v93EmRB/lohuyQ8IfM2+fm9qZPVivSIfTzARq6i20XOi9bOPAEt5r9uF9vnUXntmMpiw7ag37oE2vEerj0e1uV3IkcBu51FcnspkrplP7/ffHmQzPlEWmqfLakhy9LyWN5seLEglTa9Mt0it568YVDXSqsuZPM5Nc/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3L/lTHxo")))

trie = TRIE
first = True
for character in sys.argv[1]:
    CHARACTER = character.lower()
    if character in trie:
        trie = trie[character]
    elif first and CHARACTER in trie:
        first = False
        trie = trie[CHARACTER]
    else:
        print False
if "" not in trie:
    print False
print True

Python - Bytes: 4411, False +ves: 0, False -ves: 0 = Score: 4411

import base64,zlib,sys;T=eval(zlib.decompress(base64.b64decode("eNqdXEF24zYMPY43XHTdG/QYskjbGlGUSlFONH25e8cehySAD8rtLPIyji2JIPDx8QH6n9Nfpz//OZ3+/OPLnLrXr+bUP36Ljx/z48eafzze+OufOaX83uHx2/3x4/nb8w97ea85ueqDv/57zpfd8vuffzW/r+LIfezjf7Z6z/Xxe5dvF+o7xfx5Bx/A/L7v60qXvMhyOSsX6fLb8usDfcmcpmyNsrBAV/f8oH/89yPfcpd2LUvo8vPs4CLVcgJZ8MtC+YIhP5plb4lip+b8yDe48l9vWfMKgF32fK+ULTqJ7bjRzbvSG4Al/f7D8vjvQs0T6+t66T1rfqCx2q2Yn+v5p53/qXg0vZrLH+mqjyS2HWXzLV1AcfctP0CQe5XqNSVq0ed9n8E50mszn8pX7PPrI13Py1y+eoF5CjDnUpa68svF/GnmV7XdyjUBpFyyabyEAGbs18pucn9itiEECWrmEv2+tvqGwoNFfq/YSOLfjT5MjRvCiiFf2nHMcxKCerqx1Jl87YI1sAS2phJOC9+0Vd54zgvpRWT3Gdp9vmYSofx9kRUEefkcdxBTwclZoDtFA1Otsc4qUa6EBdNr7y0AB7RdqXbC2mZ8rR1PdU9nv6B89b3SwPPLlK1Lkt65rLpKAgu1ihPureW24tIJ7M8lPwOLszMMhy/gigQnFQDvQe6cyU4ZCV2WcpABmauEqEIhyiub3JdI/VvNTVEmocShMuqLraEYXK8YbhVbSzKIARimh0OkoXerL7uzvQPovdUAUrO84oQW7QNx4w6G5JknFAvIjpbQRg63I3VwyVJZWKPUXyHNRh0OJ7EvBkmOJwKG03P+MdHNu2KvZWFJvbbkn7vwlwGSFW7L165/CCwsnNnpJUL+HUKOqdgkTE+D9B8BvBbSH0oYREKteRAkVoZjgKke0wriLPz2g9nPyvSDgoNaznLnH7ibz/y+AXKz4lhkHy3elKCGw+v/nt9EuOvLAPWjVjjyyZ8PeWhNiG4yRdpcPxCnvua3J7GkK6YOY3aTC4VB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t=t[c]
 elif f and C in t:f=0;t=t[C]
 else:t={}
print""in t
import base64, zlib, sys

TRIE = eval(zlib.decompress(base64.b64decode("eNqdXEF24zYMPY43XHTdG/QYskjbGlGUSlFONH25e8cehySAD8rtLPIyji2JIPDx8QH6n9Nfpz//OZ3+/OPLnLrXr+bUP36Ljx/z48eafzze+OufOaX83uHx2/3x4/nb8w97ea85ueqDv/57zpfd8vuffzW/r+LIfezjf7Z6z/Xxe5dvF+o7xfx5Bx/A/L7v60qXvMhyOSsX6fLb8usDfcmcpmyNsrBAV/f8oH/89yPfcpd2LUvo8vPs4CLVcgJZ8MtC+YIhP5plb4lip+b8yDe48l9vWfMKgF32fK+ULTqJ7bjRzbvSG4Al/f7D8vjvQs0T6+t66T1rfqCx2q2Yn+v5p53/qXg0vZrLH+mqjyS2HWXzLV1AcfctP0CQe5XqNSVq0ed9n8E50mszn8pX7PPrI13Py1y+eoF5CjDnUpa68svF/GnmV7XdyjUBpFyyabyEAGbs18pucn9itiEECWrmEv2+tvqGwoNFfq/YSOLfjT5MjRvCiiFf2nHMcxKCerqx1Jl87YI1sAS2phJOC9+0Vd54zgvpRWT3Gdp9vmYSofx9kRUEefkcdxBTwclZoDtFA1Otsc4qUa6EBdNr7y0AB7RdqXbC2mZ8rR1PdU9nv6B89b3SwPPLlK1Lkt65rLpKAgu1ihPureW24tIJ7M8lPwOLszMMhy/gigQnFQDvQe6cyU4ZCV2WcpABmauEqEIhyiub3JdI/VvNTVEmocShMuqLraEYXK8YbhVbSzKIARimh0OkoXerL7uzvQPovdUAUrO84oQW7QNx4w6G5JknFAvIjpbQRg63I3VwyVJZWKPUXyHNRh0OJ7EvBkmOJwKG03P+MdHNu2KvZWFJvbbkn7vwlwGSFW7L165/CCwsnNnpJUL+HUKOqdgkTE+D9B8BvBbSH0oYREKteRAkVoZjgKke0wriLPz2g9nPyvSDgoNaznLnH7ibz/y+AXKz4lhkHy3elKCGw+v/nt9EuOvLAPWjVjjyyZ8PeWhNiG4yRdpc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for character in sys.argv[1]:
    CHARACTER = character.lower()
    if character in trie:
        trie = trie[character]
    elif first and CHARACTER in trie:
        first = False
        trie = trie[CHARACTER]
    else:
        print False
if "" not in trie:
    print False
print True
shaved off 13 chars by printing the result
Source Link
Nejc
  • 241
  • 1
  • 4

Python - Bytes: 44354422, False +ves: 0, False -ves: 0 = Score: 44354422

import base64,zlib,sys;T=eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCVaA8k0Ve4o9EgmChUAD1z9tfb3/+8/b25x9f3Vv//LN7O9z/ivdf8/3Xmn/dP/jrp3tL+bPD/a/b/dfjr8cbW/ls9+arL/769z1f9po//3i3+30VL+7j7v+56jOn+999vt1U3ynm73s6gO73fZ9XOuZJlss5nKTPH8uvD/Kl7m3M1igTm+TsHl8M938/8i03tGuZQp/Hs5GLVNOZxISfFsoXnPLQnPpIhJWa85DPdOa/PrLmGRC7bPleKVt0hOU4y8U7yRuQKf1+Y7n/u0jzxPq6Ab1nzQO6VKsV87geb236reLR8mo+f6WvvpLUcpTFd3ICxd2veQATrlWq55SkRR/3fWzOi7y28ql8xUN+/SLn8zRXqF5QnkLMuZSprvpyMX9b+VVtt3JNAinHbJqAEKCM/ZzZGdcnZhtSkJBmLrs/1Fa/su2hdv7BsBHi31kOpsYNsOKUL+015nmEoINcWOlMoXbBGlgmNaeynRa9aCveeM4TOcDOPmRoD/maCbby90VWssnL97SDdBWcvAO6SzToqjnWUSXiTGAF1O56OoMjaPG92Of8ntdOnW/T61D3cPYji1ffM510fBmzdUXQey+zroLAIq3iwb2t2FZcOpH1OeYxqH32TrfDF3FFgZMGgB9I7JzFwnQIXU5ykIGZq6xasfEVF6DFL2aNUBibIgahpKEy2pOtoZhcrxhuhaUVEaQjGGZvhyi33rm+7KbWjqD3tQaQmuUVJ3RsHYQbs/j2fKsOKI6QHSugXTTcXqSDI0tV25qF/gpprtLheBD7UpDkdSBQOD3nX6NcvBN3TLUtpT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/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3L/lTHxo")));t=T;f=1
for c in sys.argv[1]:
 C=c.lower()
 if c in t:t=t[c]
 elif f and C in t:f=0;t=t[C]
 else:sys.exit(1)
if""notprint inFalse
print""in t:sys.exit(1)

This is a python program that expects one command line argument, the word. From the list of words I constructed a trie, zlib'ed the argument and finally encoded it with base64. If the word is in the trie, the program exits with statusprints 0True, otherwise it exits with statusprints 1False. I wanted to create a spell checker that has 100% accuracy. Also, I am abusing the fact, that if python does not have a final sys.exit() call, the exit status is 0.

$python check.py colour
$echo $?
0True

$python check.py Colour
$echo $?
0True

$python check.py coLoUr
$echo $?
1False

$python check.py color
$echo $?
1False

$python check.py Color
$echo $?
1False

$python check.py I
$echo $?
0True

$python check.py i
$echo $?
1False
import base64, zlib, sys

TRIE = eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCVaA8k0Ve4o9EgmChUAD1z9tfb3/+8/b25x9f3Vv//LN7O9z/ivdf8/3Xmn/dP/jrp3tL+bPD/a/b/dfjr8cbW/ls9+arL/769z1f9po//3i3+30VL+7j7v+56jOn+999vt1U3ynm73s6gO73fZ9XOuZJlss5nKTPH8uvD/Kl7m3M1igTm+TsHl8M938/8i03tGuZQp/Hs5GLVNOZxISfFsoXnPLQnPpIhJWa85DPdOa/PrLmGRC7bPleKVt0hOU4y8U7yRuQKf1+Y7n/u0jzxPq6Ab1nzQO6VKsV87geb236reLR8mo+f6WvvpLUcpTFd3ICxd2veQATrlWq55SkRR/3fWzOi7y28ql8xUN+/SLn8zRXqF5QnkLMuZSprvpyMX9b+VVtt3JNAinHbJqAEKCM/ZzZGdcnZhtSkJBmLrs/1Fa/su2hdv7BsBHi31kOpsYNsOKUL+015nmEoINcWOlMoXbBG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ydy1NED3fXajDi20Dia/5nvjt7MHuTR1QLXuFulji9oVUEy37OMfOzQ2SBLafzsVqMPdCBiwKASF0c7G0Lr/HbiTS48aY60zG8quaq1SrWP8v5u4eb7DzeJciM3Dq3r/KlxQlEkLNq8Pa88+xeOWIxydLyyKO8ezNxCbHbe/igz12tD8+l5v93EmRB/lohuyQ8IfM2+fm9qZPVivSIfTzARq6i20XOi9bOPAEt5r9uF9vnUXntmMpiw7ag37oE2vEerj0e1uV3IkcBu51FcnspkrplP7/ffHmQzPlEWmqfLakhy9LyWN5seLEglTa9Mt0it568YVDXSqsuZPM5Nc/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3L/lTHxo")))

trie = TRIE
first = True
for character in sys.argv[1]:
    CHARACTER = character.lower()
    if character in trie:
        trie = trie[character]
    elif first and CHARACTER in trie:
        first = False
        trie = trie[CHARACTER]
    else:
        sys.exit(1)print False
if "" not in trie:
    sys.exit(1)print False
sys.exit(0)print True

Python - Bytes: 4435, False +ves: 0, False -ves: 0 = Score: 4435

import base64,zlib,sys;T=eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCVaA8k0Ve4o9EgmChUAD1z9tfb3/+8/b25x9f3Vv//LN7O9z/ivdf8/3Xmn/dP/jrp3tL+bPD/a/b/dfjr8cbW/ls9+arL/769z1f9po//3i3+30VL+7j7v+56jOn+999vt1U3ynm73s6gO73fZ9XOuZJlss5nKTPH8uvD/Kl7m3M1igTm+TsHl8M938/8i03tGuZQp/Hs5GLVNOZxISfFsoXnPLQnPpIhJWa85DPdOa/PrLmGRC7bPleKVt0hOU4y8U7yRuQKf1+Y7n/u0jzxPq6Ab1nzQO6VKsV87geb236reLR8mo+f6WvvpLUcpTFd3ICxd2veQATrlWq55SkRR/3fWzO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jR2va8uXNkJqAtrBOJaOFl5FRDjFdVURvtbb2cke0es3U5plI3Wiymv+/Yd+qrbtmf0LHejf5MY0L65/o+PM56PFFTRhWfp6JdUfW/NYIgNB3WI898Lq+OgzFIqfjizWQ+ydy1NED3fXajDi20Dia/5nvjt7MHuTR1QLXuFulji9oVUEy37OMfOzQ2SBLafzsVqMPdCBiwKASF0c7G0Lr/HbiTS48aY60zG8quaq1SrWP8v5u4eb7DzeJciM3Dq3r/KlxQlEkLNq8Pa88+xeOWIxydLyyKO8ezNxCbHbe/igz12tD8+l5v93EmRB/lohuyQ8IfM2+fm9qZPVivSIfTzARq6i20XOi9bOPAEt5r9uF9vnUXntmMpiw7ag37oE2vEerj0e1uV3IkcBu51FcnspkrplP7/ffHmQzPlEWmqfLakhy9LyWN5seLEglTa9Mt0it568YVDXSqsuZPM5Nc/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3L/lTHxo")));t=T;f=1
for c in sys.argv[1]:
 C=c.lower()
 if c in t:t=t[c]
 elif f and C in t:f=0;t=t[C]
 else:sys.exit(1)
if""not in t:sys.exit(1)

This is a python program that expects one command line argument, the word. From the list of words I constructed a trie, zlib'ed the argument and finally encoded it with base64. If the word is in the trie, the program exits with status 0, otherwise it exits with status 1. I wanted to create a spell checker that has 100% accuracy. Also, I am abusing the fact, that if python does not have a final sys.exit() call, the exit status is 0.

$python check.py colour
$echo $?
0

$python check.py Colour
$echo $?
0

$python check.py coLoUr
$echo $?
1

$python check.py color
$echo $?
1

$python check.py Color
$echo $?
1

$python check.py I
$echo $?
0

$python check.py i
$echo $?
1
import base64, zlib, sys

TRIE = eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCVaA8k0Ve4o9EgmChUAD1z9tfb3/+8/b25x9f3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BXPJ3y308DcxG5WnYsQVyZn53tSJBfQhOpzuZoNfAaSUg058z7TvlZBRmOCBB6Hdl2MF9SzGRLqIaaXVP3Eh2tE1FZjltJewONNj+aeZJr9S+e+JHx4bVDjDvNAnYTCMhzkQy8YG9s9FSr4nYy26WhfA8FgAb7Zy5BOlRJ6gEELPC0uxrpRhqeZOgZrVMnPKaoYwpExrxK77FafWq0TDAPIgRdZb3dQUVu28szcqwZdC9wayjR6mfoLVfi5V1RGZ2NhBaOSZ9fIQz/70AW1MkcLUqHXSXVt57owG0oKjPqVIfjR2va8uXNkJqAtrBOJaOFl5FRDjFdVURvtbb2cke0es3U5plI3Wiymv+/Yd+qrbtmf0LHejf5MY0L65/o+PM56PFFTRhWfp6JdUfW/NYIgNB3WI898Lq+OgzFIqfjizWQ+ydy1NED3fXajDi20Dia/5nvjt7MHuTR1QLXuFulji9oVUEy37OMfOzQ2SBLafzsVqMPdCBiwKASF0c7G0Lr/HbiTS48aY60zG8quaq1SrWP8v5u4eb7DzeJciM3Dq3r/KlxQlEkLNq8Pa88+xeOWIxydLyyKO8ezNxCbHbe/igz12tD8+l5v93EmRB/lohuyQ8IfM2+fm9qZPVivSIfTzARq6i20XOi9bOPAEt5r9uF9vnUXntmMpiw7ag37oE2vEerj0e1uV3IkcBu51FcnspkrplP7/ffHmQzPlEWmqfLakhy9LyWN5seLEglTa9Mt0it568YVDXSqsuZPM5Nc/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3L/lTHxo")))

trie = TRIE
first = True
for character in sys.argv[1]:
    CHARACTER = character.lower()
    if character in trie:
        trie = trie[character]
    elif first and CHARACTER in trie:
        first = False
        trie = trie[CHARACTER]
    else:
        sys.exit(1)
if "" not in trie:
    sys.exit(1)
sys.exit(0)

Python - Bytes: 4422, False +ves: 0, False -ves: 0 = Score: 4422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0;t=t[C]
 else:print False
print""in t

This is a python program that expects one command line argument, the word. From the list of words I constructed a trie, zlib'ed the argument and finally encoded it with base64. If the word is in the trie, the program prints True, otherwise it prints False. I wanted to create a spell checker that has 100% accuracy.

$python check.py colour
True

$python check.py Colour
True

$python check.py coLoUr
False

$python check.py color
False

$python check.py Color
False

$python check.py I
True

$python check.py i
False
import base64, zlib, sys

TRIE = eval(zlib.decompress(base64.b64decode("eNqdXEt24zgMPE42Wsx6bjDHUEzaVpv6DEU7Uc/L3aftdkgCVaA8k0Ve4o9EgmChUAD1z9tfb3/+8/b25x9f3Vv//LN7O9z/ivdf8/3Xmn/dP/jrp3tL+bPD/a/b/dfjr8cbW/ls9+arL/769z1f9po//3i3+30VL+7j7v+56jOn+999vt1U3ynm73s6gO73fZ9XOuZJlss5nKTPH8uvD/Kl7m3M1igTm+TsHl8M938/8i03tGuZQp/Hs5GLVNOZxISfFsoXnPLQnPpIhJWa85DPdOa/PrLmGRC7bPleKVt0hOU4y8U7yRuQKf1+Y7n/u0jzxPq6Ab1nzQO6VKsV87geb236reLR8mo+f6WvvpLUcpTFd3ICxd2veQATrlWq55SkRR/3fWzOi7y28ql8xUN+/SLn8zRXqF5QnkLMuZSprvpyMX9b+VVtt3JNAinHbJqAEKCM/ZzZGdcnZhtSkJBmLrs/1Fa/su2hdv7BsBHi31kOpsYNsOKUL+015nmEoINcWOlMoXbBGlgmNaeynRa9aCveeM4TOcDOPmRoD/maCbby90VWssnL97SDdBWcvAO6SzToqjnWUSXiTGAF1O56OoMjaPG92Of8ntdOnW/T61D3cPYji1ffM510fBmzdUXQey+zroLAIq3iwb2t2FZcOpH1OeYxqH32TrfDF3FFgZMGgB9I7JzFwnQIXU5ykIGZq6xasfEVF6DFL2aNUBibIgahpKEy2pOtoZhcrxhuhaUVEaQjGGZvhyi33rm+7KbWjqD3tQaQmuUVJ3RsHYQbs/j2fKsOKI6QHSugXTTcXqSDI0tV25qF/gpprtLheBD7UpDkdSBQOD3nX6NcvBN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ZPM5Nc/UzxcaBukJ48fRcpMdNdkUl+Vg7pUYnLj/GxjNV8DgbPZpX54rMP2PjdMFsOSgLv0h6g1XT1odBN3r495XHFrWedCVPhvc08LHWKusxJWrzFKeThLejFvtJzjQLM9fp3L/lTHxo")))

trie = TRIE
first = True
for character in sys.argv[1]:
    CHARACTER = character.lower()
    if character in trie:
        trie = trie[character]
    elif first and CHARACTER in trie:
        first = False
        trie = trie[CHARACTER]
    else:
        print False
if "" not in trie:
    print False
print True
set the compression to 9 and saved 200 chars
Source Link
Nejc
  • 241
  • 1
  • 4
$pyton$python check.py colour
$echo $?
0

$pyton$python check.py Colour
$echo $?
0

$pyton$python check.py coLoUr
$echo $?
1

$pyton$python check.py color
$echo $?
1

$pyton$python check.py Color
$echo $?
1

$pyton$python check.py I
$echo $?
0

$pyton$python check.py i
$echo $?
1
$pyton check.py colour
$echo $?
0

$pyton check.py Colour
$echo $?
0

$pyton check.py coLoUr
$echo $?
1

$pyton check.py color
$echo $?
1

$pyton check.py Color
$echo $?
1

$pyton check.py I
$echo $?
0

$pyton check.py i
$echo $?
1
$python check.py colour
$echo $?
0

$python check.py Colour
$echo $?
0

$python check.py coLoUr
$echo $?
1

$python check.py color
$echo $?
1

$python check.py Color
$echo $?
1

$python check.py I
$echo $?
0

$python check.py i
$echo $?
1
set the compression to 9 and saved 200 chars
Source Link
Nejc
  • 241
  • 1
  • 4
Loading
Source Link
Nejc
  • 241
  • 1
  • 4
Loading