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.
31 lines
479 B
31 lines
479 B
package main |
|
|
|
import ( |
|
"strconv" |
|
"strings" |
|
|
|
"lib" |
|
) |
|
|
|
func main() { |
|
table := []string{ |
|
"--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", |
|
"", |
|
} |
|
for i := 0; i < 5; i++ { |
|
m := lib.MultRandIntBetween(1, 46) |
|
s := "" |
|
for _, j := range m { |
|
s += strconv.Itoa(j) + " " |
|
} |
|
table = append(table, s) |
|
} |
|
|
|
for _, args := range table { |
|
lib.ChallengeMain("nbrconvertalpha", strings.Fields(args)...) |
|
} |
|
}
|
|
|