第一次训练赛解题报告
文章平均质量分 56
壹只小菜
这个作者很懒,什么都没留下…
展开
-
容斥原理(UVA 10325---The Lottery) 解题报告
题目: The Sports Association of Bangladesh is in great problem with their latest lottery `Jodi laiga Jai'. There are so many participants this time that they cannot manage all the numbers. In an urgent...翻译 2018-12-02 13:48:01 · 369 阅读 · 0 评论 -
Subset sequence HDU - 2062 解题报告(康拓展开思想)
题目: Consider the aggregate An= { 1, 2, …, n }. For example, A1={1}, A3={1,2,3}. A subset sequence is defined as a array of a non-empty subset. Sort all the subset sequece of An in lexicography order....原创 2018-12-02 14:10:44 · 309 阅读 · 0 评论 -
(F - Colossal Fibonacci Numbers! UVA - 11582 )斐波那契数列求循环节!!!
题目: The i’th Fibonacci number f(i) is recursively defined in the following way: • f(0) = 0 and f(1) = 1 • f(i + 2) = f(i + 1) + f(i) for every i ≥ 0 Your task is to compute some values ...原创 2018-12-02 14:26:20 · 193 阅读 · 0 评论 -
Divisors UVA - 294(素因数分解+快速线性筛预处理)
题目: Mathematicians love all sorts of odd properties of numbers. For instance, they consider 945 to be an interesting number, since it is the first odd number for which the sum of its divisors is larg...原创 2018-12-02 19:47:19 · 321 阅读 · 0 评论