![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
文章平均质量分 84
Kadimarx
这个作者很懒,什么都没留下…
展开
-
hdu 5143 NPY and arithmetic progression【思维】【枚举】
DescriptionNPY is learning arithmetic progression in his math class. In mathematics, an arithmetic progression (AP) is a sequence of numbers such that the difference between the consecutive terms is原创 2018-02-04 18:24:10 · 368 阅读 · 0 评论 -
Codeforces Round 340 (Div 2)D Polyline 【枚举】【思维】
DescriptionThere are three points marked on the coordinate plane. The goal is to make a simple polyline, without self-intersections and self-touches, such that it passes through all these points. Also,原创 2018-02-04 18:34:53 · 248 阅读 · 0 评论 -
HDU 233 Matrix 5015【快速幂】
DescriptionIn our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 … in the same meaning. And here is the question: Suppose we have a matrix called 233 m原创 2018-02-06 15:31:55 · 241 阅读 · 0 评论 -
poj Dropping tests 【二分】【分数规划】
DescriptionIn a certain course, you take n tests. If you get ai out of bi questions correct on test i, your cumulative average is defined to be Given your test scores and a positive integer k, dete原创 2018-02-06 16:12:19 · 273 阅读 · 0 评论 -
HDU 6217 BBP Formula 【快速幂】
DescriptionIn 1995, Simon Plouffe discovered a special summation style for some constants. Two year later, together with the paper of Bailey and Borwien published, this summation style was named as the转载 2018-02-06 16:43:33 · 548 阅读 · 0 评论 -
Codeforces 491B. New York Hotel 【枚举】【曼哈顿距离】
DescriptionThink of New York as a rectangular grid consisting of N vertical avenues numerated from 1 to N and M horizontal streets numerated 1 to M. C friends are staying at C hotels located at some st原创 2018-02-14 15:32:29 · 431 阅读 · 0 评论