A tool to download any user's non-Gym accepted solutions on Codeforces

Правка en5, от vampire_slayer, 2017-03-11 12:12:20

Codeforces Solutions Downloader

It is a tool built using Shell script and C to download any user's non-Gym accepted solutions on Codeforces. It has been built primarily for Linux.

Running the tool

Place 'run.sh', 'parser.c' and 'fix.c' in the directory where you intend to keep the downloaded solutions.

Run the following commands:

chmod +x run.sh (Makes the script executable)

./run.sh username (Runs the script, replace 'username' with the user's handle whose solutions you intend to download)

The downloaded solutions get saved in a Directory called 'Codes' inside the directory from where the script was executed. The solutions get saved in the format 'ContestId_ProblemID.extension'. For example, 776_D.cpp is a possible filename.

In order to use it with proxy, add this command to the beginning of 'run.sh': export http_proxy="http://username:password@host:port"

Here is the link to the tool: Codeforces Solutions Downloader

Feel free to report any bugs you may find.

Теги downloader, archiving, #codeforces, code backup, backup

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский vampire_slayer 2017-03-11 12:12:20 1 Tiny change: 'h', 'parse.c' and 'f' -> 'h', 'parser.c' and 'f'
en4 Английский vampire_slayer 2017-03-11 11:41:12 0 (published)
en3 Английский vampire_slayer 2017-03-11 11:39:53 6 Tiny change: 'f 'run.sh'.\n\nexport h' -> 'f 'run.sh':\nexport h'
en2 Английский vampire_slayer 2017-03-11 11:37:09 146 Tiny change: 'cutable)\n__\n_./run.s' -> 'cutable)\n\n_./run.s'
en1 Английский vampire_slayer 2017-03-11 11:27:39 1024 Initial revision (saved to drafts)