태그 : CodingDojo 요약보기전체보기목록닫기

1

Coding Dojo - Four Boxes by Ruby (Improved)

Four Boxes (I translated this quest from http://xper.org/wiki/seminar/FourBoxes) Quest There are four rectangles in plan and all their base of four rectangles are in parallel with the horizontal ...

Coding Dojo - Amicable_Pair by Ruby

def sum_of_divisors(num)   divisors = [1]   (2..Math::sqrt(num)).each do |e|     if num % e == 0       divisors << e    &n...
1


구글애드센스