pvcodes's blog

By pvcodes, history, 14 months ago, In English

Hello peeps! So I all started when solving a C problem, I got the logic but for some TCs it was failing and I wasn't able to see those TCs. So I searched a bit on the web "How to get the testcases of any problem CF?" but found out there are no simple ways to get them. From there I got the idea to make something that turned down to this CF-TESTCASES using some web scrapping technique and CF's own API.

[TL/DR] I wasn't able to get the TCs of the problems. So this CF-TESTCASES gets the job done!!

REPO LINK

Have a look at it and give your valuable feedback!!

Happy Coding!!

PEACE OUT!

Full text and comments »

  • Vote: I like it
  • +15
  • Vote: I do not like it

By pvcodes, history, 4 years ago, In English

How it all started.

Hey there, so basically it all started 1.5 months ago when I discovered the Errichto's discord server. There was a text channel named duel and vc, and there were commands like ;duel rating, ;handle get user_name, and many more. Literally, for an hour, I was trying to understand what's going on then as everyone does I asked them what is this, what is that, and all. So all over I got to know that they were using a bot named TLE BOT, from that point I decided that I'll also make something like that. So I open Github created a repo discord_bot and started searching how can I make a bot and TBH, the biggest downside was that I've learned C++ and these bots are generally coded in python or Javascript. So after 10-15 days of getting through python docs and some blog I got very basic knowledge of python, then also another thing is also needed to be understood the discord.py library, that was very hard TBH, but eventually, I somehow managed to get some knowledge.

About the π bot

For now (April 25, 2021), it is a very simple bot basically it can get the:

1. User info using codeforces API
2. Rating
3. Problem set via given difficulty level
4. Basic maths operation modulo, gcd, and some other

For sure, this project will be updated and added new features and stuff on a regular basis

IF YOU WANT THE BOT IN YOUR SERVER CLICK HERE

Till then, PEACE

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it

By pvcodes, history, 4 years ago, In English

Hi Guys, I have made a python script to make snippets files easily. It basically ask for the file name snippet code or file whose code you want to make as snippet and other stuff. Repo Link Have a look and If any improvision can be made feel free to comment down Till then, PEACE

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it