Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lun Ai
Project1
Commits
0354abf1
Commit
0354abf1
authored
Nov 03, 2015
by
Lun Ai
Browse files
Challenges
parent
32b5d85d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Challenge.hs~
View file @
0354abf1
...
...
@@ -25,4 +25,4 @@ solve i j = (i, j, (cycleLength i j))
| k `mod` 2 == 0
= (cycleLength n (k `div` 2)) + 1
| otherwise
= (cycleLength
(
n (k * 3) + 1)) + 1
= (cycleLength n
(
(k * 3) + 1)) + 1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment