
数学
下饭厨子
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
zzulioj 1896 985的买饮料难题
985的买饮料难题 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 234 Solved: 124 Description 天气太热了,985制定了对未来的规划即第i天喝a[i]瓶饮料。为了节约开支,他打听到了第i天每瓶饮料的价格p[i]。 为了不让自己的规划落空,他想知道这n天他至少要花多少钱。 精明的985可以选择在任原创 2016-08-09 10:58:36 · 667 阅读 · 0 评论 -
zzulioj 1897 985的红绿灯难题
F: 985的红绿灯难题 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 208 Solved: 129 SubmitStatusWeb Board Description 已知红、绿、黄灯各持续r、g、y秒,985发现此时灯刚刚变绿,他想知道x秒后灯是什么颜色。 Input 第一行输入一个整数t,代表有t组测原创 2016-08-09 11:08:56 · 510 阅读 · 0 评论 -
zzulioj 1898 985的数字难题
985的数字难题 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 279 Solved: 100 SubmitStatusWeb Board Description 985有n个数,已知每次操作可以将其中不相同的两个数一个加一、一个减一,操作次数不限。 问他最多可以得到多少个相同的数。 Input 第一行输入原创 2016-08-09 11:15:28 · 334 阅读 · 0 评论 -
light OJ Birthday Paradox.
Birthday Paradox. Description Sometimes some mathematical results are hard to believe. One of the common problems is the birthday paradox. Suppose you are in a party where there are 23原创 2016-08-13 17:16:17 · 468 阅读 · 0 评论 -
POJ 1971 Parallelogram Counting
Parallelogram Counting There are n distinct points in the plane, given by their integer coordinates. Find the number of parallelograms whose vertices lie on these points. In other words, find the n原创 2016-08-13 17:18:23 · 366 阅读 · 0 评论