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.
32 lines
479 B
32 lines
479 B
5 years ago
|
package main
|
||
5 years ago
|
|
||
|
import (
|
||
|
"strconv"
|
||
|
"strings"
|
||
|
|
||
5 years ago
|
"lib"
|
||
5 years ago
|
)
|
||
|
|
||
5 years ago
|
func main() {
|
||
5 years ago
|
table := []string{
|
||
5 years ago
|
"--upper 8 5 25",
|
||
|
"8 5 12 12 15",
|
||
|
"12 5 7 5 14 56 4 1 18 25",
|
||
|
"12 5 7 5 14 56 4 1 18 25 32 86 h",
|
||
|
"32 86 h",
|
||
|
"",
|
||
5 years ago
|
}
|
||
5 years ago
|
for i := 0; i < 5; i++ {
|
||
5 years ago
|
m := lib.MultRandIntBetween(1, 46)
|
||
5 years ago
|
s := ""
|
||
|
for _, j := range m {
|
||
|
s += strconv.Itoa(j) + " "
|
||
|
}
|
||
5 years ago
|
table = append(table, s)
|
||
5 years ago
|
}
|
||
|
|
||
5 years ago
|
for _, args := range table {
|
||
5 years ago
|
lib.ChallengeMain("nbrconvertalpha", strings.Fields(args)...)
|
||
5 years ago
|
}
|
||
|
}
|