喜闻乐见
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.
喜闻乐见(happy)
宁宁在数轴上有 个点,其中第 个位于 。宁宁每次会选择两个点 ,抹去 加入 关于 的对称点。
操作进行 次,最后剩下点的位置有多少种不同的可能?答案对 取模。
输入格式
一行一个正整数表示 。
输出格式
一行一个正整数表示答案。
测试样例
| 样例输入 | 样例输出 |
|---|---|
| 3 | 12 |
| 4 | 84 |
| 5 | 770 |
数据范围
一共 个测试点,测试点 满足 。
- 时间限制:。
- 空间限制:。
NOIP模拟赛(八)
- Status
- Done
- Rule
- IOI
- Problem
- 4
- Start at
- 2023-11-16 8:00
- End at
- 2023-11-16 12:00
- Duration
- 4 hour(s)
- Host
- Partic.
- 20