Hi Codeforces,
Does anyone know a way to download problems in a PDF file for later offline use?
I know a somewhat not-so-good way:
- Open
codeforces.com/contest/<contestid>/problems - Press
ctrl+p - Set the correct preferences, so that the result will be readable
- Print to file
But I remember that I downloaded 482B - Interesting Array in a PDF file at the beginning of the contest, when I tried to open the problem page. I don't know how, but maybe it was because the servers were too busy. That is why, I thought there might be a way to download problems in PDF format.
I still have the file. This file is more convenient than printing the problems page.








Hello, I think you can use wkhtmltopdf, It justs requires an url as input, and it gives you the required pdf.
I just wrote a code for this
C++0x:Using this you can remove surplus elements from problem and have a clean page instead. You can also change
<head>and style the document. It saves the document intosaved.html. After saving it, Use your own method toPDFify your newHTML.TESTED in OS X.
This that problem, converted to
PDFusing this C++ code: https://drive.google.com/file/d/0B6dkBXoLJA10Q1ZpUTNCejA2T0k/view?usp=sharingYou know that this only works in mac, right ? Linux and Windows don't have
openorcurl, or windows doesn't haverm.You can convert commands into your OS.
rmisdelin windows.openisxdg-openin linux.openisstartin windows.curlis available here to download it for windows: http://curl.haxx.se/dlwiz/?type=bin&os=Win64curlshould work on linux too as far as I know.You should install it (curl on linux) :)
thanks
You are welcome. And thanks to you too :P But I didn't mean to be informative. I rather asked a question.
So can someone please tell if it is possible to download problems in exactly the same format as in this file?