Add all the A tasks
This commit is contained in:
parent
2dd7375f96
commit
051504d65b
1608 changed files with 18584 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math"
|
||||
)
|
||||
|
||||
func main() {
|
||||
const n = 10
|
||||
sum := 0.
|
||||
for x := 1.; x <= n; x++ {
|
||||
sum += x * x
|
||||
}
|
||||
fmt.Println(math.Sqrt(sum / n))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue