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.
23 lines
359 B
23 lines
359 B
package main |
|
|
|
import ( |
|
"github.com/01-edu/z01" |
|
|
|
correct "./correct" |
|
student "./student" |
|
) |
|
|
|
func main() { |
|
table := []int{ |
|
20, |
|
1, |
|
9, |
|
2, |
|
} |
|
for i := 0; i < 25; i++ { |
|
table = append(table, z01.MultRandIntBetween(1, 877)) |
|
} |
|
for _, arg := range table { |
|
z01.Challenge("ReachableNumber", student.ReachableNumber, correct.ReachableNumber, arg) |
|
} |
|
}
|
|
|