fork download
  1. package main
  2. import (
  3. "fmt"
  4. )
  5. func e(x int) string {
  6. if x == 0 {
  7. return ""
  8. } else {
  9. return e(x >> 1) + string(x & 1)
  10. }
  11. }
  12.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.go:3: imported and not used: fmt
prog.go:5: function ends without a return statement
stdout
Standard output is empty