### Communities

tag:snake search within a tag
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
created:<1w created < 1 week ago
post_type:xxxx type of post
Challenges

# Posts tagged random

This tag doesn't have any usage information yet.

This tag doesn't have a detailed wiki yet.

2 posts
80%
+6 −0

Challenge This is a simple randomness challenge: Given a non-negative integer $n$, and positive integer $m$, simulate rolling and summing the results of $n$ fair dice, each of which have $m$ sides...

9 answers  ·  posted 1y ago by Moshi‭  ·  last activity 8mo ago by south‭

Question code-golf random
77%
+5 −0

Idea shamelessly stolen from caird and rak1507 Shuffle a subset of a list of unique, positive integers with uniform randomness, given the indices of that subset. For example, given the list \$[A, B...

4 answers  ·  posted 1y ago by user‭  ·  edited 1y ago by General Sebast1an‭

Featured
Hot Posts

This community is part of the Codidact network. We have other communities too — take a look!