RetiredPlayer's blog

By RetiredPlayer, history, 2 years ago, In English

Hi everyone

I created a simple telegram bot "CP algorithm finder bot" to improve the CP programming community

The bot has the following features

  • Search(/search) — By keyword or by some tag you can quickly find the desired algorithm, this will allow the contestant to find the desired algorithm quickly, since in contests the time for which you wrote the code is very important

  • Algorithms(/algorithms) — This is a library of algorithms that currently stores more than 50 algorithms, and all algorithms are made in the form of links for convenience.

Another advantage of the bot is that almost all the algorithms in the codes are written in the form of structures, classes and methods, which allows the participant to immediately create a class with the desired size, and not understand the sizes of arrays and different defines, etc.

Link to the bot: https://t.me/cpalgobot

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

| Write comment?
»
2 years ago, # |
  Vote: I like it +7 Vote: I do not like it

Thanks for all the work you've put into making this bot! It would be very nice if there was a brief description of what exactly does a specific code snippet do, in which complexity and, ideally, if it had some benchmarks, so one can quickly understand how long will its execution take on a given problem.

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

thank you! but I think it would be better if you send the code as a text, instead of the link.

and maybe using both of them will be better!

»
2 years ago, # |
  Vote: I like it +1 Vote: I do not like it

That's how telegram should be used

»
2 years ago, # |
  Vote: I like it +13 Vote: I do not like it

This seems like a tool that shouldn't exist, when you can have a github or something similar. The owner of any such bot could easily look at the bot commands called during contest to gain an unfair advantage. I'm not saying you would do that, but you give yourself the possibility, which is problematic.

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

very interesting, though it recommends this link for persistent segment tree which is broken.