fork download
  1. package main
  2. import (
  3. "fmt"
  4. )
  5. func e(x int) string {
  6. if x == 0 {
  7. return ""
  8. }
  9. return e(x >> 1) + string(x & 1)
  10. }
  11. func main() {
  12. var n, x int
  13. fmt.Scanf("%d\n", &n)
  14. for i := 0; i < n; i++ {
  15. fmt.Scanf("%d\n", &x)
  16. d := make(map[int]int)
  17. fmt.Printf("%d\n", n)
  18. }
  19. }
  20.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
3
1
2
3
compilation info
prog.go:16: d declared and not used
stdout
Standard output is empty