codeforces-problems-to-pdf icon indicating copy to clipboard operation
codeforces-problems-to-pdf copied to clipboard

given the problem link, it wraps it as pdf :smiley:

codeforces-problems-to-pdf

Requirements

  • pdfkit
  • PyPDF2

Install Requirements

pip3 install pdfkit PyPDF2
sudo apt-get install wkhtmltopdf

How to use

First parameter: problem link
Second parameter: pdf name (don't miss the ".pdf")
Example:

 python3  problem-cutter.py  https://codeforces.com/contest/96/problem/a  1.pdf

ScreenShots

Before After