69.go 97 B

12345678
  1. package main
  2. func mySqrt(x int) int {
  3. var i int
  4. for i = 0; i*i <= x; i++ {
  5. }
  6. return i - 1
  7. }