THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

24 行
369 B

package main
import (
"fmt"
"os"
"strings"
"bytes"
)
func main() {
var j = 0
var buffer bytes.Buffer
var k = strings.Join(os.Args[1:], " ")
for _,i := range strings.Split(k, "") {
if i == "e" {
j=j+1%127
} else if i == " " {
buffer.WriteString(fmt.Sprintf("%c", j))
}
}
buffer.WriteString(fmt.Sprintf("%c", j))
fmt.Println(buffer.String())
}