fork download
  1. func e(x int) string {
  2. if x == 0 {
  3. return ""
  4. } else {
  5. return e(x >> 1) + string(x & 1)
  6. }
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.go:1: package statement must be first
prog.go:1: function ends without a return statement
prog.go:7: missing newline at end of file
stdout
Standard output is empty