摘要:
给定一个非负整数 c ,你要判断是否存在两个整数 a 和 b,使得 a2 + b2 = c 。 使用双指针: #include <iostream> #include <math.h> using namespace std; bool judge(long c) { if (c < 0) retu 阅读全文
posted @ 2024-02-03 11:48
wshidaboss
阅读(209)
评论(0)
推荐(0)
浙公网安备 33010602011771号