摘要:
D. Potion Brewing Class /******************** Author: Nanfeng1997 Contest: Codeforces - Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 202 阅读全文
posted @ 2022-03-21 14:38
ccz9729
阅读(89)
评论(0)
推荐(1)
摘要:
传送门 题目描述 给 \(N\) 个正整数,第 \(i\) 个数用 \(a_i\) 来表示,求出有多少对 \((i,j)\) 使得 \({a_i}^2 + a_j\) 是一个完全平方数. \(1 \le N \le 10^6, 1 \le a_i \le 10^6\) CODE #include < 阅读全文
posted @ 2022-03-21 10:21
ccz9729
阅读(81)
评论(0)
推荐(1)

浙公网安备 33010602011771号