Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73163 潘允晨 方程求解 Python3 Accepted 35 MS 3780 KB 184 2024-05-18 10:51:24

Tests(10/10):


Code:

s=0 n,m=map(int,input().split()) for x in range(1,n): y=n-x if x+y==n and x*y==m: s+=1 else: s+=0 if s>=1: print("Yes") else: print("No")