-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathabout.html
64 lines (56 loc) · 4.29 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.26.0/themes/prism-tomorrow.min.css" integrity="sha512-vswe+cgvic/XBoF1OcM/TeJ2FW0OofqAVdCZiEYkd6dwGXthvkSFWOoGGJgS2CW70VK5dQM5Oh+7ne47s74VTg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.26.0/plugins/line-numbers/prism-line-numbers.min.css" integrity="sha512-cbQXwDFK7lj2Fqfkuxbo5iD1dSbLlJGXGpfTDqbggqjHJeyzx88I3rfwjS38WJag/ihH7lzuGlGHpDBymLirZQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cabin" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro" rel="stylesheet">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
<link rel="stylesheet" type="text/css" href="./styles.css">
<link rel="stylesheet" type="text/css" href="./content.css">
<body>
<div class="card">
<h2>Welcome to CSES Sols</h2>
<br>
<div>
<b>Problem set:</b> <a target="_blank" href="https://cses.fi">CSES site</a>.<br>
<b>This site's developers:</b> <a target="_blank" href="https://github.com/DecSP">Cao Son Nguyen</a> & <a target="_blank" href="https://github.com/NguyenD-Nam">Dinh Nam Nguyen</a>.
</div>
<br>
<h3>Walkthrough</h3>
<ul class="intuition">
<li>We provide our solutions for coding problems of CSES site that is owned by <a target="_blank" href="https://www.cs.helsinki.fi/u/ahslaaks/">Antti Laaksonen</a> & <a target="_blank" href="https://researchportal.helsinki.fi/en/persons/topi-talvitie">Topi Talvitie</a> during our data structures and algorithms learning. Most of the solutions are written in C++ and Python programming language.</li>
<li>This project is open-source on Github. You can support us by giving this <a target="_blank" href="https://github.com/DecSP/cses-downloader">repository</a> a star.</li>
</ul>
<h3>Download solutions</h3>
<ul class="intuition">To do this you actually need only <code>crawler.py</code> (and <code>htmlgen.py</code>, <code>style.css</code>, <code>content.css</code> if you want to package solutions). You might want to create an empty directory and put only those files inside. Please follow these steps:</ul>
<h4>Get your SESSID</h4>
<ul class="intuition">
<li>Go to CSES login page.</li>
<li>Open Browser Dev Tools and go to Network tab.</li>
<li>Fill the information and login.</li>
<li>Look at the Browser Dev Tools and find the details of your login request then go to cookies, you will find the field <code>PHPSESSID</code>.</li>
<li>Copy the value and paste it into <code>crawler.py</code> where <code>"YOUR_SESSID_HERE"</code> is specified.</li>
</ul>
<h4>Download solutions using these scripts</h4>
<ul class="intuition">
<li><code>python crawler.py</code> to download solutions of all problems.</li>
<li><code>python crawler.py <problemID></code> to download solutions of a specific problem.</li>
</ul>
<h3>Source & Contribution</h3>
<ul class="intuition">
<li>If you want to contribute solutions for any unsolved CSES problem on this site, feel free to make a pull request on this project's <a target="_blank" href="https://github.com/DecSP/cses-downloader">repository</a>, we really appreciate it.</li>
</ul>
<h3>Contact</h3>
<ul class="intuition">
<li><i>(See <i class="fas fa-at"></i>Contact section for more info).</i></li>
</ul>
<h3>License</h3>
<ul class="intuition">
<li>MIT License.</li>
<li>© 2022 Cao Son Nguyen, Dinh Nam Nguyen.</li>
</ul>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.26.0/components/prism-core.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.26.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.26.0/plugins/line-numbers/prism-line-numbers.min.js" integrity="sha512-dubtf8xMHSQlExGRQ5R7toxHLgSDZ0K7AunqPWHXmJQ8XyVIG19S1T95gBxlAeGOK02P4Da2RTnQz0Za0H0ebQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</body>