多边形分割
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
4
4
Remark
我们规定当时,分割出来的小多边形为个。
SDNU_ACM_ICPC_2024_WEEKLY_PRACTICE_4th
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 12
- Start at
- 2024-11-17 18:00
- End at
- 2024-11-17 22:00
- Duration
- 4 hour(s)
- Host
- Partic.
- 38