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.
31 lines
477 B
31 lines
477 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
5 years ago
|
func main() {
|
||
5 years ago
|
args := []string{
|
||
|
"1 2 * 3 * 4 +",
|
||
|
"3 1 2 * * 4 %",
|
||
|
"5 10 9 / - 50 *",
|
||
|
"21 3 2 % 2 3 2 *",
|
||
|
"1 2 3 4 +",
|
||
|
"324 + 1 - 23 ",
|
||
|
"32 / 22",
|
||
|
"11 22 +",
|
||
|
"23491234 102030932 -",
|
||
|
"123 2222 /",
|
||
|
"299 255 %",
|
||
|
"15 76 *",
|
||
|
"88 67 dks -",
|
||
|
" 1 3 * 2 -",
|
||
|
}
|
||
|
|
||
|
for _, v := range args {
|
||
5 years ago
|
z01.ChallengeMain(v)
|
||
5 years ago
|
}
|
||
5 years ago
|
z01.ChallengeMain()
|
||
|
z01.ChallengeMain("1 2 * 3 * 4 +", "10 33 - 12 %")
|
||
5 years ago
|
}
|