[R11F]二维gcd和2
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.
时空限制
2S/1024M
题目描述
求 。
格式
输入格式
第一行包含一个整数 ,含义与题目描述相同。
输出格式
输出一个整数表示答案。对 取模。
样例
样例输入 #1
6
样例输出 #1
61
样例输入 #2
4999
样例输出 #2
135537352
样例输入 #3
49999999
样例输出 #3
182045492
数据规模
对于 的数据,。
对于 的数据,。
对于 的数据,。
代码源挑战赛 Round 11
- Status
- Done
- Rule
- DMY
- Problem
- 6
- Start at
- 2025-5-9 20:00
- End at
- 2025-5-9 21:30
- Duration
- 1.5 hour(s)
- Host
- Partic.
- 580