Показать сообщение отдельно
Непрочитано 04.12.2011, 17:35   #2
Аватар для Azagthtot
Эксперт

По умолчанию Re: betterprogrammer.com

Нифига не вкурил в задание на поиск perfect number

Цитата:
/*
Please implement this method to
return a list of all perect numbers in the given range inclusively.
A perfect number is defined as a positive integer which is the sum of its positive divisors not including the number itself.
For example: 6 is a perfect number because 6 = 1 + 2 + 3 (1, 2, 3 are divisors of 6)
28 is also a perfect number: 28 = 1 + 2 + 4 + 7 + 14
*/
Т.е. просто не понял задание ((
Azagthtot вне форума Отправить сообщение для Azagthtot с помощью ICQ Отправить сообщение для Azagthtot с помощью Skype™ Ответить с цитированием