Count of primes ≤ 10^12

Revision ru2, by Vanekss, 2026-05-15 21:10:38

Hello codeforces,I'm trying to solve a problem on acmp, in this problem I only need to count the number of primes up to 10^12,do you know some algorithms to solve it?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru2 Russian Vanekss 2026-05-15 21:10:38 16
ru1 Russian Vanekss 2026-05-15 21:08:45 301 Первая редакция (опубликовано)