Pages

Wednesday, July 13, 2011

Problem #6

Problem link
Solution:
package main

func main() {
result := ((100*101)/2)*((100*101)/2) - ((100 * 101 * 201) / 6)
println(result)
}



Result: 25164150
Time: 0m0.003s

No comments: