Decimalで殴るにはコツが必要

a,b,c = map(int, input().split())

import decimal
from decimal import *
import math

# 不要
# decimal.getcontext().prec = 2000

A = Decimal(a)
B = Decimal(b)
C = Decimal(c)

# こういうルートのとり方もある
root = Decimal("0.5")

# if math.sqrt(A)+math.sqrt(B)<math.sqrt(C): # WA
if A.sqrt()+B.sqrt()<C.sqrt(): # AC
# if (A**root)+(B**root)<(C**root): # AC
    print("Yes")
else:
    print("No")

他の殴れた例