摘要: 【题目】 给定非负整数c,本题的任务是判断是否存在整数a和b,使得a2+b2=c。 Example 1: Input: 5 Output: True Explanation: 1 * 1 + 2 * 2 = 5 Example 2: Input: 3 Output: False【解法】暴力破解列出所 阅读全文
posted @ 2020-06-27 21:54 桃花换小鱼干好不好 阅读(151) 评论(0) 推荐(0)