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.

22 lines
420 B

package main
import (
"strconv"
"github.com/01-edu/z01"
)
func main() {
for i := 0; i < 10; i++ {
start := z01.RandIntBetween(-20, 20)
end := z01.RandIntBetween(-20, 20)
z01.ChallengeMain(strconv.Itoa(start), strconv.Itoa(end))
}
z01.ChallengeMain("2", "1", "3")
z01.ChallengeMain("a", "1")
z01.ChallengeMain("1", "b")
z01.ChallengeMain("1", "nan")
z01.ChallengeMain("nan", "b")
z01.ChallengeMain()
}