那个小美编译器那道题,不就是直接用split分割,后加入map就行吗?为什么我一直错,大家帮我看看 package main import ( "bufio" "fmt" "os" "strings" ) func main() { scan:=bufio.NewScanner(os.Stdin) scan.Scan() outValue:=make([]string,0) str:=scan.Text() trueStr:=string([]byte(str)[:len(str)-1]) keyAndValue:=strings.Split(trueStr,";")...