tranducbo's blog

By tranducbo, history, 2 weeks ago, In English

Hi. I've got plenty of free time lately and I decide to make this script with the help of ChatGPT.

Here it is

Usage: - Copy the code given into a .py file - Create two files in the same directory of the .py file, one named "urls.txt" with urls of problems on vjudge.com (one url on each line); and another one named "test.html" which will be the output of the program - Run the script and witness the results As you can clearly see, the scripts have lots of room for improvement - CSS design is virtually non-existent or too abhorrent - Cannot render out all pdf pages as pictures (Personally I think this is important because I intend to print this HTML) - Bad code rendering - HTML format is sluggish, non-standard - And even more ...

However, I believe the true value of this script lies in its ability to bundle problems so that i don't have to browse the web over and over again. You might not think that is necessary, but I ,for one, need to allocate my roaming data for much more important undertakings (i.e SHCD HUST K69 siuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu)

Any improvement or usage of the script is welcomed and encouraged. I will try to better the code, but do not ask me to help since the SHCD are really taking up a whole lot of my roaming data ... and time (maybe i don't have as much time as I imagined)

Anyway, thanks for reading

What the hell is this SHCD thing? I hear you asked (or not)

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By tranducbo, history, 13 months ago, In English

I've been trying to solve 1857G - Counting Graphs for a while and it seems that my solutions will invariably receive MLE. Is there any way to use less memory to solve these kinds of problems. Any help would be appreciated.

My solutions: 220733247

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it