Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6984cc57a9
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.248 kb
object P48 {
def main(args: Array[String]) {
var result = BigInt(0)
(1 until 1001).foreach((x) => {
var t = BigInt(x)
result = result + t.pow(x)
})
println(result)
}
}
Jump to Line
Something went wrong with that request. Please try again.