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.
36 lines
666 B
36 lines
666 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"strconv"
|
||
|
|
||
5 years ago
|
"../lib"
|
||
5 years ago
|
)
|
||
|
|
||
|
type node struct {
|
||
|
A, B, C, D, E, F int
|
||
|
}
|
||
|
|
||
5 years ago
|
func main() {
|
||
5 years ago
|
table := []node{}
|
||
|
|
||
|
for i := 0; i < 25; i++ {
|
||
5 years ago
|
a := lib.RandIntBetween(0, 1000)
|
||
|
b := lib.RandIntBetween(0, 1000)
|
||
|
c := lib.RandIntBetween(0, 1000)
|
||
|
d := lib.RandIntBetween(0, 1000)
|
||
|
e := lib.RandIntBetween(0, 1000)
|
||
|
f := lib.RandIntBetween(0, 1000)
|
||
5 years ago
|
table = append(table, node{a, b, c, d, e, f})
|
||
|
}
|
||
|
|
||
|
for _, arg := range table {
|
||
|
a := strconv.Itoa(arg.A)
|
||
|
b := strconv.Itoa(arg.B)
|
||
|
c := strconv.Itoa(arg.C)
|
||
|
d := strconv.Itoa(arg.D)
|
||
|
e := strconv.Itoa(arg.E)
|
||
|
f := strconv.Itoa(arg.F)
|
||
5 years ago
|
lib.ChallengeMain("costumeprofit", a, b, c, d, e, f)
|
||
5 years ago
|
}
|
||
|
}
|