softnshare / kata

Code Kata 這個概念是由 The Pragmatic Programmer 的作者之一Dave Thomas提出的, 想要提升自己的coding skill嗎? 歡迎加入這個slack channel, 加入請參考右邊網頁說明
https://softnshare.wordpress.com/slack/kata/
38 stars 4 forks source link

Sum of positive #13

Open jawayang opened 8 years ago

jawayang commented 8 years ago

題目:

You get an array of numbers, return the sum of all of the positives ones.

Example [1,-4,7,12] => 1 + 7 + 12 = 20

翻譯:

你有一個數字陣列,回傳所有正數的和。 例子: [1,-4,7,12] => 1 + 7 + 12 = 20

http://www.codewars.com/kata/sum-of-positive

@raytong82

jawayang commented 8 years ago

@raytong82 可否提供這個題目的連結,謝謝。

vicky-sunshine commented 8 years ago

http://www.codewars.com/kata/sum-of-positive 幫補充題目連結

vampireneo commented 8 years ago

PASS

d2207197 commented 8 years ago

Pass

bucker commented 8 years ago

PASS