Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 360 Bytes

633. Sum of Square Numbers.md

File metadata and controls

26 lines (20 loc) · 360 Bytes
title toc date tags top
633. Sum of Square Numbers
false
2017-10-30
Leetcode
Math
633

Given a non-negative integer $c$, your task is to decide whether there're two integers $a$ and $b$ such that $a^2 + b^2 = c$.

Example 1:

Input: 5
Output: True
Explanation: 1 * 1 + 2 * 2 = 5

Example 2:

Input: 3
Output: False

分析