|  | 
|  | 
| back to board | GOLANG - WRONG ANSWER package main
 import(
 "fmt"
 "strings"
 "bufio"
 "os"
 "strconv"
 "math"
 )
 
 func main(){
 scanner := bufio.NewScanner(os.Stdin)
 scanner.Scan()
 line := scanner.Text()
 s := strings.Fields(line)
 
 
 for ix := len(s) - 1; ix >= 0; ix--{
 i, _ := strconv.Atoi(s[ix])
 x := fmt.Sprintf("%.4f", math.Sqrt(float64(i)))
 fmt.Println(x)
 }
 }
 | 
 | 
|