
二分 + 尺取
HPU2_2
这个作者很懒,什么都没留下…
展开
-
They Are Everywhere
They Are Everywhere Sergei B., the young coach of Pokemons, has found the big house which consists of nflats ordered in a row from left to right. It is possible to enter each flat from the street....原创 2018-07-28 20:28:17 · 435 阅读 · 0 评论 -
Trailing Zeroes (III)
You task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail in decimal notation. As you know N! = 1*2*...*N. For example, 5! = 120, 120 contains one zero on the tra...原创 2018-07-28 20:29:12 · 172 阅读 · 0 评论 -
A Sweet Journey
Master Di plans to take his girlfriend for a travel by bike. Their journey, which can be seen as a line segment of length L, is a road of swamps and flats. In the swamp, it takes A point strengths per...原创 2018-07-28 20:30:08 · 348 阅读 · 0 评论 -
A - Stages
Natasha is going to fly to Mars. She needs to build a rocket, which consists of several stages in some order. Each of the stages is defined by a lowercase Latin letter. This way, the rocket can be des...原创 2018-07-28 12:07:40 · 338 阅读 · 0 评论