Пример #1
0
/*
Solve007 solves Project Euler 007
*/
func Solve007() (ans int) {
	m := peb.PrimeList(1000000)
	ans = m[10000]
	return
}
Пример #2
0
/*
Solve010 solves Project Euler 010
*/
func Solve010() (ans int) {
	m := peb.PrimeList(2e6)
	ans = peb.SumIntList(m)
	return
}