package main import "fmt" func main() { var 事 uint = 1 左 := 事 << 事 右 := 事 >> 事 あ := []byte{ byte(事<<(事<<(左)+左) + 事<<(左) + 左), byte(事<<(事<<(左+事)-事) - 事<<(事<<(左)+事) + 事<<(左+事) + 事), byte(事<<(事<<(左)+左) + 左), byte(事<<(事<<(左+事)-事) - 事<<(左+事) - 左 - 事), byte(事<<(事<<(左+事)-事) - 事<<(左) - 左), byte(事<<(事<<(左+事)-事) - 事<<(左) - 左), byte(事<<(左+事) + 左), } い := (事<<(事<<(左)+左) + 事<<(事<<(左)+事) - 事<<(左)) + (uint(あ[事<<(左)]) * ((事<<(事<<(左+事)-事) - 事<<(事<<(左)) + 左) + (uint(あ[左+事]) * (事<<(事<<(左)+左) - 事<<(左) - 左 + (uint(あ[左]) * (事 + 事<<(事<<(左)) + 左 + (事 << (左 + 事) * uint(あ[事])))))))) う := [][]byte{ append(append([]byte{}, あ[:左]...), あ[事<<(左):]...), append([]byte{}, あ[左:]...), append(append(append([]byte{}, あ[:左]...), あ[事<<(左):事<<(左)+左]...), あ[左:]...), } え := make([]byte, uint(あ[事<<(左)+左])<<(左)-uint(あ[事<<(左)+左])+uint(あ[右])) for お := range え { が := い & uint(あ[右]-あ[左]-byte(事)) if が < 事 { fmt.Printf("%d%s", uint(お)+事, あ[事<<(左)+左:]) } else { fmt.Printf("%s", う[が-事]) } い = い>>(左) | が<<(事<<(事<<(左)+事)-事<<(左)) } }

About the Playground

The Go Playground is a web service that runs on golang.org's servers. The service receives a Go program, vets, compiles, links, and runs the program inside a sandbox, then returns the output.

If the program contains tests or examples and no main function, the service runs the tests. Benchmarks will likely not be supported since the program runs in a sandboxed environment with limited resources.

There are limitations to the programs that can be run in the playground:

The playground can use most of the standard library, with some exceptions. The only communication a playground program has to the outside world is by writing to standard output and standard error.

In the playground the time begins at 2009-11-10 23:00:00 UTC (determining the significance of this date is an exercise for the reader). This makes it easier to cache programs by giving them deterministic output.

There are also limits on execution time and on CPU and memory usage.

The article "Inside the Go Playground" describes how the playground is implemented. The source code is available at https://go.googlesource.com/playground.

The playground uses the latest stable release of Go.

The current version is go1.14.8.

The playground service is used by more than just the official Go project (Go by Example is one other instance) and we are happy for you to use it on your own site. All we ask is that you contact us first (note this is a public mailing list), use a unique user agent in your requests (so we can identify you), and that your service is of benefit to the Go community.

Any requests for content removal should be directed to security@golang.org. Please include the URL and the reason for the request.