OSDN Git Service

fix(sieve): move copyright info to the end
authorShuhao Zhang <studyingfather@gmail.com>
Wed, 21 Oct 2020 14:10:22 +0000 (22:10 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 14:10:22 +0000 (22:10 +0800)
docs/math/sieve.md

index 5419691..c43daea 100644 (file)
@@ -150,8 +150,6 @@ int count_primes(int n) {
 
 块大小 $S$ 取 $10^4$ 到 $10^5$ 之间,可以获得最佳的速度。
 
- **本节部分内容译自博文 [Решето Эратосфена](http://e-maxx.ru/algo/eratosthenes_sieve) 与其英文翻译版 [Sieve of Eratosthenes](https://cp-algorithms.com/algebra/sieve-of-eratosthenes.html) 。其中俄文版版权协议为 Public Domain + Leave a Link;英文版版权协议为 CC-BY-SA 4.0。** 
-
 ### 线性筛法
 
 埃氏筛法仍有优化空间,它会将一个合数重复多次标记。有没有什么办法省掉无意义的步骤呢?答案是肯定的。
@@ -310,3 +308,5 @@ void pre() {
 ```
 
 ## 其他线性函数
+
+**本节部分内容译自博文 [Решето Эратосфена](http://e-maxx.ru/algo/eratosthenes_sieve) 与其英文翻译版 [Sieve of Eratosthenes](https://cp-algorithms.com/algebra/sieve-of-eratosthenes.html) 。其中俄文版版权协议为 Public Domain + Leave a Link;英文版版权协议为 CC-BY-SA 4.0。**