Cf round #146 (Div. 2)

Source: Internet
Author: User

A: the question of water is indeed the question of the island mother. It is so "special"

B: x = p1a1 * p2a2 * p3a3 * FOR THE DECOMPOSITION OF A number X *... pkak, X Factor number (A1 + 1) * (A2 + 1) * (A3 + 1 )*... * (ak + 1 );

First, create a table... 1000000, and then calculate it directly.

Cool! I forgot to take the model, and later I lost a lot of scores after the change...

C: I thought it was a fake rule. I just launched it... T_t, found some great gods writing. Simply enumerate the combination of all numbers in the [n-100, N] interval...


PS: question C. This hack is so cool .... Pai_^




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.