mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
387 B
20 lines
387 B
package main |
|
|
|
import ( |
|
"github.com/01-edu/z01" |
|
|
|
solutions "./solutions" |
|
student "./student" |
|
) |
|
|
|
func main() { |
|
args := []int{z01.RandIntBetween(-6, 20)} |
|
args = append(args, -5, 0) |
|
for i := 0; i < 20; i++ { |
|
args = append(args, z01.RandIntBetween(2, 20)) |
|
} |
|
|
|
for _, v := range args { |
|
z01.Challenge("CollatzCountdown", student.CollatzCountdown, solutions.CollatzCountdown, v) |
|
} |
|
}
|
|
|