카타 7급 Statistics Algorithm - Calculate Sample Space

1 개요[ | ]

카타 8급 C
# 🔗 문제 풀이

틀:카타 7급-1

2 Ruby[ | ]

def all_possible_outcomes_of_multiple_trials(var, trials)
  return var.size ** trials;
end
def all_possible_outcomes_of_multiple_trials(var, trials)
  return var.length ** trials;
end
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}