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.
27 lines
360 B
27 lines
360 B
package main |
|
|
|
import ( |
|
"strconv" |
|
|
|
"../../lib" |
|
) |
|
|
|
func main() { |
|
args := [][]string{ |
|
{"1"}, |
|
{"2"}, |
|
{"3"}, |
|
{"4"}, |
|
{"1024"}, |
|
{"4096"}, |
|
{"8388608"}, |
|
{"1", "2"}, |
|
{}, |
|
} |
|
for i := 0; i < 12; i++ { |
|
args = append(args, []string{strconv.Itoa(lib.RandIntBetween(1, 2048))}) |
|
} |
|
for _, v := range args { |
|
lib.ChallengeMain("ispowerof2", v...) |
|
} |
|
}
|
|
|