For problem statement at 0-999/100-199/170-179/177/problemB1.txt this is a correct solution, but verifier at 0-999/100-199/170-179/177/verifierB1.go ends with All 123 tests passed. can you fix the verifier? package main
import (
"fmt"
)
func main() {
var n int64
if _, err := fmt.Scan(&n); err != nil {
return
}
var sum int64 = n
for n > 1 {
var p int64 = 2
for p*p <= n {
if n%p == 0 {
break
}
p++
}
if p*p > n {
p = n
}
n /= p
sum += n
}
fmt.Println(sum)
}