Комментарии
На cgy4everCodeforces Round #228 — Editorial, 8 лет назад
0

Very true, I have solved it in a weird manner but I still cannot get the proof.

На no_lifeStars and bars modified, 8 лет назад
0

Input

N = 64, K = 3

Output

7

This can be expressed as a product of three integers in the following ways:

1 x 1 x 64

1 x 2 x 32

1 x 4 x 16

1 x 8 x 8

2 x 2 x 16

2 x 4 x 8

4 x 4 x 4

Therefore, 7 ways.

На no_lifeHeight of students , 8 лет назад
0

Great approach. I thought one topological sort will work after adding all the edges. But your approach looks like to be correct.

На no_lifeStars and bars modified, 8 лет назад
0

N is up to 1e9. Can we use prime factors of N to solve this?

На no_lifeHelp for a problem, 8 лет назад
0

Can you share your implementation? There are lot's of doubt over it.

На no_lifeHelp for a problem, 8 лет назад
0

Got AC, thanks for the intuition.

На no_lifeHelp for a problem, 8 лет назад
-11

Great explanation, but I believe it may not produce correct output when P == Q.

На PrinceOfPersiaHello 2015 Editorial, 8 лет назад
0

In editorial TROY Query, Because when the answer to a query is No, the answer to the next queries will be also No. Can someone explain me why?