Skip to content

Files

Latest commit

7a7d3f2 · Oct 20, 2020

History

History

0633.Sum of Square Numbers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 20, 2020
Oct 20, 2020
Mar 17, 2020

English Version

题目描述

给定一个非负整数 c ,你要判断是否存在两个整数 ab,使得 a2 + b2 = c。

示例1:

输入: 5
输出: True
解释: 1 * 1 + 2 * 2 = 5

 

示例2:

输入: 3
输出: False

解法

Python3

Java

...