PE-CN / pe-cn-comments

2 stars 0 forks source link

Problem 874 | Project Euler | #876

Open sx349 opened 8 months ago

sx349 commented 8 months ago

https://pe-cn.github.io/874/

Problem 874 Maximal Prime ScoreLet $p(t)$ denote the $(t+1)$th prime number. So that $p(0) = 2$, $p(1) = 3$, etc.We define the prime score of a list of nonnegative integers $[a_1, \dots, a_n]$ as the