Dev Skill archived problems can be discussed here.


by seyedssz » Sat Feb 25, 2017 12:34 pm

How I can get some helps to solves problems?
I need some help for DCP-71 and DCP-208(as I post it before and no response)!!
Any Editorial?
Thanks a lot!
Posts: 17
Joined: Sun Jan 01, 2017 12:28 pm

Re: DCP-71

by haasib » Sun Feb 26, 2017 11:25 am

DCP-208 :
In this Problem N<=10^14. So all of its prime factors are <=10^7. So, you can call a sieve of 10^7 and prime factorize N and check whether the factors are consecutive or not.
Posts: 10
Joined: Tue Sep 27, 2016 2:26 am

Who is online
Users browsing this forum: No registered users and 1 guest