[GESP202406 二级] 平方之和
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目背景
对应的选择、判断题:https://ti.luogu.com.cn/problemset/1150
题目描述
小杨有 个正整数 ,他想知道对于所有的 ,是否存在两个正整数 和 满足 。
输入格式
第一行包含一个正整数 ,代表正整数数量。 之后 行,每行包含一个正整数,代表 。
输出格式
对于每个正整数 ,如果存在两个正整数 和 满足 ,输出 Yes,否则输出 No。
2
5
4
Yes
No
提示
对于第一个正整数,存在 ,因此答案为 Yes。
对于全部数据,保证有 。
2024-2025上学期中学生信息奥林匹克(入门)期末测试
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2024-12-27 16:15
- End at
- 2024-12-27 17:30
- Duration
- 1 hour(s)
- Host
- Partic.
- 45