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

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.
 

24 lines
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())
}