about | help | code help+videos | done | prefs |
Sheffim are always found in trios, identified by ints a, b, and c. The likelyhood they will attack is a number from 0 to 20. If the id numbers are all different from each other, return a 0. If all of the numbers are the same, return 20. If only two of the numbers are the same, return a 10. sheffim(1, 2, 3) → 0 sheffim(2, 2, 2) → 20 sheffim(1, 1, 2) → 10 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 105
Copyright Nick Parlante 2017 - privacy