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.
21 lines
512 B
21 lines
512 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/01-edu/z01"
|
||
|
|
||
|
solutions "../../solutions"
|
||
|
)
|
||
|
|
||
5 years ago
|
func main() {
|
||
5 years ago
|
for i := 0; i < 30; i++ {
|
||
|
value := z01.RandIntBetween(-1000000, 1000000)
|
||
|
base := z01.RandIntBetween(2, 16)
|
||
5 years ago
|
z01.Challenge("ItoaBaseProg", ItoaBase, solutions.ItoaBase, value, base)
|
||
5 years ago
|
}
|
||
|
for i := 0; i < 5; i++ {
|
||
|
base := z01.RandIntBetween(2, 16)
|
||
5 years ago
|
z01.Challenge("ItoaBaseProg", ItoaBase, solutions.ItoaBase, z01.MaxInt, base)
|
||
|
z01.Challenge("ItoaBaseProg", ItoaBase, solutions.ItoaBase, z01.MinInt, base)
|
||
5 years ago
|
}
|
||
|
}
|