# Codeforces 933 B. A Determined Cleanup（数学）

Description In order to put away old things and welcome a fresh new year, a thorough cleaning of the house is a must. Little Tommy finds an ...

# 51nod 1350 斐波那契表示 （数学）

Description 每一个正整数都可以表示为若干个斐波那契数的和，一个整数可能存在多种不同的表示方法，例如：14 = 13 + 1 = 8 + 5 + 1，其中13 + 1是最短的表示（只用了2个斐波那契数）。定义F(n) = n的最短表示中的数字个数，F(14) = 2，F(100) =...

# 51nod 1836 战忽局的手段 （期望）

Description 众所周知，有一个神秘的组织——战忽局，在暗中保护着我们。在局中任职的官员都有着极强的忽悠技巧，不只能用预言，还能用往事忽悠人。如今某外星间谍已经获得了战忽局曾经参与的n次事件的资料，局座发现了这件事，于是决定再次用忽悠来保证战忽局的安全。局座将发表m次演讲，每一天他都会...

# HDU 6154 CaoHaha's staff （数学）

Description “You shall not pass!” After shouted out that,the Force Staff appered in CaoHaha’s hand. As we all know,the Force Staff is a s...

# POJ 1681 Painter's Problem （高斯消元）

Description There is a square wall which is made of n×n small square bricks. Some bricks are white while some bricks are yellow. Bob is a painter a...

# HDU 6038 Function （数学）

Description You are given a permutation a from 0 to n−1 and a permutation b from 0 to m−1. Define that the domain of function f is the set of ...

# UVA Live 3704 Cellular Automaton （循环矩阵+快速幂）

Description A cellular automaton is a collection of cells on a grid of speciﬁed shape that evolves through a number of discrete time steps accordin...

# 山东省第八届 ACM 省赛 quadratic equation （水、坑）

Problem Description With given integers a,b,c, you are asked to judge whether the following statement is true: “For any x, if a⋅x2+b⋅x2+c=0a⋅x^2+b⋅...

# POJ 3101 Astronomy （数学）

Description There are n planets in the planetary system of star X. They orbit star X in circular orbits located in the same plane. Their tangent ve...

# HDU 4586:Play the Dice (数学)

Problem Description There is a dice with n sides, which are numbered from 1,2,…,n and have the equal possibility to show up when one rolls a dice. ...

# HDU 5907：Find

Find Q Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/131072 K (Java/Others) Total Submission(s): 263    Accepted Submission(s): 14...

# POJ 1019:Number Sequence

Number Sequence Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 37876   Accepted: 10944 Description A single positive integer...

个人资料
等级：
访问量： 36万+
积分： 1万+
排名： 2019
欢迎关注 <千与梦随> 哦！
博客专栏
 那些年,我们一起追过的算法 文章：6篇 阅读：23920
最新评论