algo — C++23 日本語リファレンス GitHub

prime_counting

関数 · $n$ 以下の素数を数える

std::int64_t prime_counting(std::int64_t n);

概要

$n$ 以下の素数を数える

計算量