Traverser_25's blog

By Traverser_25, history, 7 months ago, In English

"Hello coders! You may have come across this account on Codeforces that has solved over 8000 problems and is on the top rank list of solved problems. Obviously, they are mostly bots. As a curious novice coder, I also wanted to see how I could make such a bot. When I saw their submissions, all were copied. So, I decided to create my own bot using Python and Selenium,here is my bot Traverser_Steal69. It was a great learning experience to delve into web scraping and Selenium. You can find the code in the provided link. Thanks for taking the time to read

https://pastebin.com/WmKAjFfu

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

»
7 months ago, # |
  Vote: I like it -10 Vote: I do not like it

Great, i always thought how they made these kind of bots..

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Why there are 100 unsolved problems?

  • »
    »
    7 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    My code sumbit problem in c++ language, there are many problems with special case and can be submitted in contests only, I didn't include this case .

»
7 months ago, # |
  Vote: I like it -10 Vote: I do not like it

Amazing bot bro. Hope we'll se some amazing stuffs like this in future also.

»
7 months ago, # |
  Vote: I like it -10 Vote: I do not like it

Great work, would it work during bot checking during contests?

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

1) This bot is built using Python 3.11.

2) Before running the bot, ensure that you have the Chrome driver installed, matching the version of your Chrome browser.

3) To avoid being blocked, the bot maintains a low submission rate, typically around 150 problems in 25 minutes, assuming a good network connection.

4) You can run the bot on various platforms, including PythonAnywhere, your local laptop, or your AWS (Amazon Web Services) instance.

5) If you wish to enhance the bot, such as bypassing captchas, utilizing multiple processes or threads, implementing IP rotation, increasing submission speed, or allowing submissions in multiple languages, please do it, let me kn

»
7 months ago, # |
  Vote: I like it -10 Vote: I do not like it

I'm happy for you but codeforces is not the place to practice Selenium and web scraping. codeforces is a place to practice your competitive programming skills.

  • »
    »
    7 months ago, # ^ |
      Vote: I like it -11 Vote: I do not like it

    Hey, thanks for commenting, i understand that codeforces is for practice,in my profile you can see i practiced as well, I was curious about bot,so I made one just, thank you

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

recommend to also create a github repo, just for fun as it'd be easier to access for other non-cp coders

  • »
    »
    7 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    BTW as a persn who has been in backend dev, and for a few things also faced selenium and web scraping, I also always thought how do these bots work but due to being busy for OI i never felt the courage to go and code one, so... thanks for making this problem go away from me :)

    • »
      »
      »
      7 months ago, # ^ |
        Vote: I like it -10 Vote: I do not like it

      Glad it helped you :), Thanks for your motivating words.

    • »
      »
      »
      4 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Hey I added a GitHub repo too, new version uses purely request and scrapping,no need of selenium

      • »
        »
        »
        »
        4 months ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Nice, thank you for informing me of this, I'll check it out soon

  • »
    »
    7 months ago, # ^ |
    Rev. 2   Vote: I like it -10 Vote: I do not like it

    Yes sure,I will do that(GitHub repo )

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Your bot is on rank 3 now ,for solving 9512 problems!!

  • »
    »
    4 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Yes, restarted it ,before a week,added some changes will share the new code

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I suggest Codeforces remove that senseless problemset standing since 1) it is allowed to copy paste other peoples codes outside contests and 2) the top mostly consists of bots

  • »
    »
    4 months ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Yes 100% agreed, but I wanted to know how those bots are made ,and how I can make one,just a learning experience.,plus some part of my code can be useful to submit codeforces solution from WhatsApp, telegram,terminal or any site ,if u want to integrate,and for building some useful extensions

  • »
    »
    4 months ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    even if the standing is useless from a competition metric it is still interesting and useful to compare with ur friends or idols