diff options
| author | Mistivia <i@mistivia.com> | 2024-01-27 14:02:35 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2024-01-27 14:02:35 +0800 |
| commit | 6580dcd9127f69aaa794472ec92bc46015dc4019 (patch) | |
| tree | dc2c7e102c75180f7bd98c2f3a14f8b55f83c0f2 /codewars/7-kyu/Sum of odd numbers | |
init
Diffstat (limited to 'codewars/7-kyu/Sum of odd numbers')
| -rw-r--r-- | codewars/7-kyu/Sum of odd numbers/solution.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/codewars/7-kyu/Sum of odd numbers/solution.hs b/codewars/7-kyu/Sum of odd numbers/solution.hs new file mode 100644 index 0000000..11bb86e --- /dev/null +++ b/codewars/7-kyu/Sum of odd numbers/solution.hs @@ -0,0 +1,6 @@ +-- https://www.codewars.com/kata/55fd2d567d94ac3bc9000064 + +module Codewars.SumOddNumbers where + +rowSumOddNumbers :: Integer -> Integer +rowSumOddNumbers x = x * x * x |
