Greatest common factor | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Greatest common factor

How would I find the greatest common factor of two integers?

11th Oct 2019, 4:31 PM
Advanced Incognizant
1 ответ
+ 5
Wikipedia is always a good idea if you are looking for algorithms. In this case I would recommend using the Euclidean algorithm.
11th Oct 2019, 4:43 PM
Thoq!
Thoq! - avatar