← All Duels

gpt-5.5_vs_deepseek-v3.2-thinking.jsonl — 10 puzzles

gpt-5.5
-1
vs
deepseek-v3.2-thinking
-1
#1 Sample Solution Wrong
def mystery(x):
    import hashlib

    if not isinstance(x, str):
        return False

    if len(x) != 38:
        return False

    if any(ord(c) < 33 or ord(c) > 126 for c in x):
        return False

    h = hashlib.sha256(x.encode("utf-8")).hexdigest()
    return h == "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
"password"
Proposer: gpt-5.5 Solver: deepseek-v3.2-thinking
-1 vs 0
#2 Solved
def mystery(x):
    if not isinstance(x, int):
        return False
    if x <= 10000:
        return False
    if x % 1000 != 336:
        return False
    s = 0
    for i in range(1, x):
        if x % i == 0:
            s += i
    return s == x
33550336
33550336
Proposer: deepseek-v3.2-thinking Solver: gpt-5.5
-1 vs 0
#3 Solved
def mystery(x):
    if not isinstance(x, int) or isinstance(x, bool):
        return False

    n = int(
        "10941738641570527421809707322040357612003732945449205990913842131476349984288934784717997257891267332497625752899781833797076537244027146743531593354333897"
    )

    if x <= 1 or x >= n:
        return False

    return n % x == 0
102639592829741105772054196573991675900716567808038066803341933521790711307779
102639592829741105772054196573991675900716567808038066803341933521790711307779
Proposer: gpt-5.5 Solver: deepseek-v3.2-thinking
-1 vs 0
#4 Sample Solution Wrong
def mystery(x):
    if not isinstance(x, str):
        return False
    if len(x) != 20:
        return False
    if any(c in "0123456789" for c in x):
        return False
    allowed_names = {"ord": ord}
    try:
        result = eval(x, {"__builtins__": {}}, allowed_names)
    except:
        return False
    return result == 42
ord('*')
Proposer: deepseek-v3.2-thinking Solver: gpt-5.5
-1 vs -1
#5 Solved
def mystery(x):
    import hashlib
    import hmac

    if not isinstance(x, str):
        return False

    try:
        raw = x.encode("latin1")
    except UnicodeEncodeError:
        return False

    if len(raw) != 32:
        return False
    if any(c < 33 or c > 126 for c in raw):
        return False

    p1 = bytes(c ^ 0x5A for c in raw[:20])
    p2 = bytes(c ^ 0x20 for c in raw[20:24])
    p3 = bytes(c ^ 0x20 for c in raw[24:])

    return (
        hmac.compare_digest(
            hmac.new(p1, b"Hi There", hashlib.sha256).hexdigest(),
            "b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7",
        )
        and hmac.compare_digest(
            hmac.new(p2, b"what do ya want for nothing?", hashlib.sha256).hexdigest(),
            "5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843",
        )
        and hmac.compare_digest(
            hashlib.pbkdf2_hmac("sha256", p3, b"salt", 1, 32).hex(),
            "120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b",
        )
    )
"QQQQQQQQQQQQQQQQQQQQjEFEPASSWORD"
"QQQQQQQQQQQQQQQQQQQQjEFEPASSWORD"
Proposer: gpt-5.5 Solver: deepseek-v3.2-thinking
-1 vs -1
#6 Solved
def mystery(x):
    if not isinstance(x, str):
        return False
    if len(x) != 8:
        return False
    if any(ord(c) < 33 or ord(c) > 126 for c in x):
        return False

    arr = [ord(c) for c in x]
    p = 251

    # Equations modulo p
    eq0 = (arr[0] + arr[1] + arr[2] + arr[3] + arr[4] + arr[5] + arr[6]) % p
    if eq0 != 73:
        return False

    eq1 = (arr[0] + 2*arr[1] + 3*arr[2] + 4*arr[3] + 5*arr[4] + 6*arr[5] + 7*arr[6]) % p
    if eq1 != 69:
        return False

    eq2 = (arr[0] - arr[1] + arr[2] - arr[3] + arr[4] - arr[5] + arr[6]) % p
    if eq2 != 91:
        return False

    eq3 = (arr[0] + arr[1] - arr[2] - arr[3] + arr[4] + arr[5] - arr[6]) % p
    if eq3 != 59:
        return False

    eq4 = (arr[0] + 3*arr[1] + 2*arr[2] + arr[3] + 4*arr[4] + 3*arr[5] + 2*arr[6]) % p
    if eq4 != 71:
        return False

    eq5 = (arr[0] + arr[2] + arr[4] + arr[6]) % p
    if eq5 != 82:
        return False

    eq6 = (arr[1] + arr[3] + arr[5]) % p
    if eq6 != 242:
        return False

    # Additional condition on the eighth character
    if arr[7] != (arr[0] + arr[1] + arr[2] + arr[3] + arr[4] + arr[5] + arr[6]) % p:
        return False

    return True
"Haxdg-&I"
"Hello!*I"
Proposer: deepseek-v3.2-thinking Solver: gpt-5.5
-1 vs -1
#7 Solved
def mystery(x):
    import hashlib

    if not isinstance(x, int) or isinstance(x, bool):
        return False
    if x < 0 or x >= (1 << 32):
        return False

    prefix = bytes.fromhex(
        "01000000"
        + "00" * 32
        + "3ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4a"
        + "29ab5f49"
        + "ffff001d"
    )

    h = hashlib.sha256(hashlib.sha256(prefix + x.to_bytes(4, "little")).digest()).digest()
    return int.from_bytes(h, "little") <= (0xffff << 208)
2083236893
2083236893
Proposer: gpt-5.5 Solver: deepseek-v3.2-thinking
-1 vs -1
#8 Solved
def mystery(x):
    if not isinstance(x, str):
        return False
    if len(x) != 20:
        return False
    if any(c in "0123456789" for c in x):
        return False
    if any(c == 'a' for c in x):
        return False
    allowed_names = {"ord": ord}
    try:
        result = eval(x, {"__builtins__": {}}, allowed_names)
    except:
        return False
    return result == 43
"ord('+')#bbbbbbbbbbb"
" ord ( '+' ) "
Proposer: deepseek-v3.2-thinking Solver: gpt-5.5
-1 vs -1
#9 Solved
def mystery(x):
    if not isinstance(x, int) or isinstance(x, bool):
        return False

    if x <= (1 << 455) or x >= (1 << 456):
        return False

    p = (1 << 256) - (1 << 32) - 977
    a = 1

    gx = 3
    gy = pow(30, (p + 1) // 4, p)
    G = (gx, gy)

    def inv(z):
        return pow(z % p, p - 2, p)

    def add(P, Q):
        if P is None:
            return Q
        if Q is None:
            return P

        x1, y1 = P
        x2, y2 = Q

        if x1 == x2 and (y1 + y2) % p == 0:
            return None

        if P == Q:
            m = ((3 * x1 * x1 + a) * inv(2 * y1)) % p
        else:
            m = ((y2 - y1) * inv(x2 - x1)) % p

        xr = (m * m - x1 - x2) % p
        yr = (m * (x1 - xr) - y1) % p
        return (xr, yr)

    def mul(k, P):
        R = None
        while k:
            if k & 1:
                R = add(R, P)
            P = add(P, P)
            k >>= 1
        return R

    return mul(x, G) == G
1 + ((1 << 199) + 1) * ((1 << 256) - (1 << 32) - 976)
(1 << 200) * ((1 << 256) - (1 << 32) - 976) + 1
Proposer: gpt-5.5 Solver: deepseek-v3.2-thinking
-1 vs -1
#10 Solved
def mystery(x):
    if not isinstance(x, str):
        return False
    if len(x) != 10:
        return False
    allowed = set("0123456789abcdefghijklmnopqrstuvwxyz")
    if any(c not in allowed for c in x):
        return False
    if '2' in x or '4' in x:
        return False
    try:
        val = eval(x)
    except:
        return False
    return val == 42
"0b00101010"
"0b00101010"
Proposer: deepseek-v3.2-thinking Solver: gpt-5.5
-1 vs -1