摘要: 解决通法 找出第i条线增加后会增加几个交点,则增加的面数就是交点数+1,根据递推公式求出通项公式,注意如果第i次增加的线不只一条,要单独考虑每一条线,比如每一次增加一组平行线,要分别算出这两条线可能产生的交点数 例题 HDU 2050 折线分割平面 题目链接 https://vjudge.net/p 阅读全文
posted @ 2019-02-16 17:56 Artoriax 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 题目链接 https://vjudge.net/problem/CodeForces 455A 题面 Description Alex doesn't like boredom. That's why whenever he gets bored, he comes up with games. O 阅读全文
posted @ 2019-02-16 17:37 Artoriax 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 题目链接 https://vjudge.net/problem/UVA 12627 题面 Description Piotr found a magical box in heaven. Its magic power is that if you place any red balloon ins 阅读全文
posted @ 2019-02-16 17:29 Artoriax 阅读(122) 评论(0) 推荐(0) 编辑