2105: 平方和(2024年6月GESP C++二级试题)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:27 Solved:12

Description

Input

第一行包含一个正整数 ,代表正整数数量。
之后 n 行,每行包含一个正整数,代表 ai

Output

Sample Input Copy

2
5
4

Sample Output Copy

Yes
No

HINT

对于第一个正整数,存在 1 * 1 + 2 * 2 = 5。

Source/Category