https://www.gravatar.com/avatar/8f3abece0f8608ce4b9c1e3212fd1b72?s=240&d=mp

P3146-[USACO16OPEN]248 G

P3146-[USACO16OPEN]248 G 题目: 题目描述: Bessie likes downloading games to play on her cell phone, even though she doesfind the small touch screen rather cumbersome to use with her large hooves. She is particularly intrigued by the current game she is playing. The game starts with a sequence of $N$ positive integers ($2 \leq N\leq 248$), each in the range $1 \ldots 40$. In one

CF260E-Dividing Kingdom

CF260E-Dividing Kingdom 题目: 题目描述: A country called Flatland is an infinite two-dimensional plane. Flatland has $ n $ cities, each of them is a point on the plane. Flatland is ruled by king Circle IV. Circle IV has 9 sons. He wants to give each of his sons part of Flatland to rule. For that, he wants to draw four distinct straight lines, such