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.
19 lines
349 B
19 lines
349 B
package main |
|
|
|
import ( |
|
"../lib" |
|
"./correct" |
|
"./student" |
|
) |
|
|
|
func main() { |
|
args := []int{lib.RandIntBetween(-6, 20)} |
|
args = append(args, -5, 0) |
|
for i := 0; i < 20; i++ { |
|
args = append(args, lib.RandIntBetween(2, 20)) |
|
} |
|
|
|
for _, v := range args { |
|
lib.Challenge("CollatzCountdown", student.CollatzCountdown, correct.CollatzCountdown, v) |
|
} |
|
}
|
|
|