acm集训
sin²θ
划水退役的ACMer
展开
-
Anagrams(思维)
Consider the positional numeral system with a given base b. A positive integer x is called b-anagram of a positive integer y if they have the same length of representation in this system (without lead...原创 2019-10-30 20:08:52 · 236 阅读 · 0 评论 -
Multiplication Game(质因数分解,博弈)
Alice and Bob are in their class doing drills on multiplication and division. They quickly get bored and instead decide to play a game they invented. The game starts with a target integer N≥2, and an ...原创 2019-10-27 09:25:57 · 746 阅读 · 0 评论 -
D - Obtain Desired Expected Value
You are given n non-negative integers x1, x2, …, xn. You are also given a positive integer E. You have to find n non-negative real numbers p1, p2, …, pn such that p1 · x1 + p2 · x2 + p3 · x3 + … + pn ...原创 2019-10-17 19:01:25 · 254 阅读 · 0 评论 -
个人赛 2019-10-11
A - BowWow and the Timetable In the city of Saint Petersburg, a day lasts for 2^100 minutes. From the main station of Saint Petersburg, a train departs after 1 minute, 4 minutes, 16 minutes, and so on...原创 2019-10-11 22:05:36 · 165 阅读 · 0 评论 -
Play the Dice——(数学)
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. Each side has an integer ai on it. Now here is a game that you can roll t...原创 2019-08-27 15:46:07 · 234 阅读 · 0 评论