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
681 B
36 lines
681 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"strconv"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
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++ {
|
||
|
a := z01.RandIntBetween(0, 1000)
|
||
|
b := z01.RandIntBetween(0, 1000)
|
||
|
c := z01.RandIntBetween(0, 1000)
|
||
|
d := z01.RandIntBetween(0, 1000)
|
||
|
e := z01.RandIntBetween(0, 1000)
|
||
|
f := z01.RandIntBetween(0, 1000)
|
||
|
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
|
z01.ChallengeMain("costumeprofit", a, b, c, d, e, f)
|
||
5 years ago
|
}
|
||
|
}
|