You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
<li><strong>Edit files locally or in the GitHub UI</strong>.</li>
6717
6717
<li><strong>Submit a pull request</strong> with your updates.</li>
6718
6718
</ul>
6719
-
<p>For help with this workflow, check out this helpful guide:<ahref="https://www.dataschool.io/how-to-contribute-on-github/">Step-by-step guide to contributing on GitHub</a>.</p>
6719
+
<p>For help with this workflow, check out this helpful guide:<ahref="https://opensource.guide/how-to-contribute/">Step-by-step guide to contributing on GitHub</a>.</p>
<p>When you add new articles or reorganize existing ones, be sure to update the following files:</p>
6722
6722
<ul>
6723
6723
<li><strong><ahref="https://github.com/cp-algorithms/cp-algorithms/blob/main/src/navigation.md">navigation.md</a></strong>: Update the list of all articles.</li>
6724
-
<li><strong><ahref="https://github.com/cp-algorithms/cp-algorithms/blob/main/README.md">README.md</a></strong>:Addnew articlesto the mainproject overview.</li>
6724
+
<li><strong><ahref="https://github.com/cp-algorithms/cp-algorithms/blob/main/README.md">README.md</a></strong>:Update the list ofnew articleson the mainpage.</li>
<p>We use<ahref="https://daringfireball.net/projects/markdown">Markdown</a> to format articles. Articles are rendered using<ahref="https://squidfunk.github.io/mkdocs-material/">Material for MkDocs</a>, which provides a lot of flexibility. Here are some key features:</p>
<p>Replace<code><original-link></code> with theURL tothesource article.</p>
6773
+
<p>Replace<code><original-link></code> with thelast part oftheURL (e.g., for<code>http://e-maxx.ru/algo/euler_function</code>, use<code>euler_function</code>).</p>
<divclass="highlight"><pre><span></span><code><spanclass="go">gitclone--recursivehttps://github.com/cp-algorithms/cp-algorithms.git&& cd cp-algorithms</span>
<p>Run<code>extract_snippets.py</code> from the<code>test</code> directory to extract snippets into header files. Create a test file that includes these headers and checks their behavior.</p>
6821
-
</li>
6822
-
<li>
6823
-
<p>You can run all tests with the<code>test.sh</code> script:</p>
<li>Run<code>extract_snippets.py</code> from the<code>test</code> directory to extract snippets into header files. Create a test file that includes these headers and checks their behavior.</li>
6818
+
<li>You can run all tests with the<code>test.sh</code> script:
<code>Running test_aho_corasick.cpp - Passed in 635 ms
6824
+
Running test_balanced_brackets.cpp - Passed in 1390 ms
6825
+
Running test_burnside_tori.cpp - Passed in 378 ms
6826
+
...
6827
+
51 PASSED in 49.00 seconds</code>
6828
+
This script will run tests and display the results.</li>
6828
6829
</ol>
6829
-
<p>This script will run tests and display the results.</p>
6830
6830
<p>Additionally, all pull requests will be automatically tested via<ahref="https://github.com/cp-algorithms/cp-algorithms/actions">GitHub Actions</a>.</p>