1# Runtime: 669 ms (Top 21.17%) | Memory: 13.8 MB (Top 63.98%)2import math345class Solution:6 def judgeSquareSum(self, c: int) -> bool:78 a = 0910 while a**2 <= c:11 b = math.sqrt(c - a**2)1213 if b.is_integer():14 return True1516 a += 11718 return False
WPM •0 •0
ACC •0 •0
TIME •0