Editorial for Različiti činioci
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
Ako postoji delilac broja
tako da je
onda se
može predstaviti kao proizvod
. Kako je
onda je
pa su
i
različiti te je odgovor "DA". U suprotnom
je prost broj ili kvadrat prostog broja i u tom slučaju je očigledno odgovor "NE".
Vremenska složenost:
Comments