平方的和
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.
Description
给定 个整数 ,请求出两两数字和的平方的和,也就是
由于这个数字比较大,输出答案模 的余数。
Format
Input
第一行单个整数
第二行个整数
Output
一行一个整数表示答案
Samples
样例输入
3
1 2 3
样例输出
50
样例解释
Limitation
- 30%: ,
- 60%: ,
- 100%: ,
1s, 512MiB for each test case.
20250515周赛
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-5-29 16:45
- End at
- 2025-5-29 18:15
- Duration
- 1.5 hour(s)
- Host
- Partic.
- 23