When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

Laggy's blog

By Laggy, 7 years ago, In English

CPC or Competitive Programming Community is a Discord server targeting problem solvers and competitive programmers from all backgrounds and different platforms.

First let me briefly introduce Discord for those who haven't heard of it before:

Discord is an all-in-one voice and text chat application that works on browser/desktop/phone. Every server can have multiple text & voice channels accessed by members of the server or limited to a certain group of these members. You can share code/text/links/pictures at the text channels and you can talk in the voice channels.

Why should you join the server?

Basically, you get to meet other members and have group discussions without caring about down-votes. The server is currently active with over 700+ members (still have a long way to go). Also, Discord has nice features such as pinning messages/pinging users/search function and many other cool stuff.

But most importantly, for all you contest enthusiasts, you will be very interested in joining our post-contest discussions. Those are when the server is most active and everyone is raging about their hacked solutions, bugged code, how they misunderstood the statements and/or all your typical post-contest feelings then, you discuss problems.
The members are from all ranks and A LOT of them are actually quite humble and love helping others. Well, you will know what I am talking about once you join wink.


Join Us by visiting this invite →
Share discord.gg/algorithms with your friends for good luck


Algo-chan

Algo-chan is a bot I created to assign roles to new members. Roles? Yes, every member get to verify his identity using a command. This feature is exclusive to Codeforces right now. Depending on your Codeforces rating you get a role with different permissions and access to channels AND a different Color.

Just like codeforces, you will be assigned a different color once you set your handle successfully.

Currently, I am working on an algorithm/data-structure database. Soon you will be able to lookup algorithm implementations using a special command: !algo
Algo-chan's Command List

Moderators: These are the most active users that are willing to help manage the server in case some user decided to spam/troll/post unwanted material. (Currently: noelnadal, Bassel, Noam527, tfg, Svlad_Cjelli, stefdasca)

This server is non-profit and is managed by the community. The bot is going to be open source when it's ready. What I ask of you is to join and help us build this amazing community.

UPDATE: We just got partnered by Discrd!!

UPDATE: Errichto is holding his stream discussions in a channel hosted on the server in the main section called #errichto-yt.

Related Blogs:

http://codeforces.com/blog/entry/57376

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

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

Please note that the server has just been created so, don't let the current activity discourage you. Hopefully, we can gather as many members as possible and start having discussions after everything is up and running. For now you could help by sharing the server invite link with your friends.

You can request a Div1/Div2 role by sending me your discord tag or by directly PMing one of the admins/moderators on discord.

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

I wondered if there is any website that I can me and my friend code in it in the same time! .. just like google docs I can see what my friends write and I can write codes in the same time. I think it will be useful project if someone can build it.

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

Here's a list that I will try to maintain as much as possible. It should contain the discord tags and CF handles of the members until I finish developing a discord bot.

Soon you should be able to set your handle using a command (e.g. !setcfh ) so other members can know who you are.

Invite everyone you know so we can have an amazing chat room :) Thank you.

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

We almost reached 100 members. I am looking forward to an amazing post-contest discussion. We have a #spoilers channel now so we can discuss problems without ruining them for those who haven't yet solved them.

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

    Hey the invite seems to have inspired. Can you provide a new one?

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

 I've created a Discord bot that allows you to set your cf handle / lookup other users handles / get upcoming contest dates. That's all for today.

There will be reminders via PM on Discord. Please feel free to suggest features.

Commands are: !codeforces sethandle handle !codeforces handle discorduser (for lookup) !codeforces contests (for upcoming contest dates)

If you still haven't joined us I encourage you to do. We're still trying to attract more and more members.

»
7 years ago, # |
  Vote: I like it +9 Vote: I do not like it

We will be having a post-contest discussion today. Make sure you don't miss it.

»
7 years ago, # |
Rev. 2   Vote: I like it +12 Vote: I do not like it

algo-chan (Discord Bot) Update: The server has a bot called algo-chan. He will be your helper. He's only 1 year old so don't expect too much from him yet. He has the potential tho.

Right now, algo-chan will help you set your codeforces handle using this command "!codeforces sethandle yourhandle" (without the quotes). You will get a fancy color on the server depending on your rating YAY

He will tell you the handles of other members using '!codeforces handle @member'. So it's easy to know who you're talking with as most people don't use their handles as their Discord usernames.

Near future update: Contest reminder via pm and group mention.

Current server member count: 197.

Make sure to join us and invite more people. Thank you.

Cheers, Khaled

»
7 years ago, # |
  Vote: I like it +3 Vote: I do not like it

The server now has 360 members with an average of 50 users online everyday. Keep it up everyone.

»
7 years ago, # |
  Vote: I like it +6 Vote: I do not like it

We almost reached 400 members and 60,000 messages ^_^. Thank you all for the amazing discussions and looking forward to more of them.

»
6 years ago, # |
  Vote: I like it +3 Vote: I do not like it

Reminders are now working!

Join us; We're now at 409 members. 80,000 messages have been sent.

»
6 years ago, # |
  Vote: I like it +5 Vote: I do not like it

Right now I am doing a Virtual Contest picker. It'll pick a contest for a given list of users where nobody has solved anything. If no such contest exists it will pick a contest where you solved easier problems first. Could be cool for group practicing.

If you guys have more suggestions or want to request some feature, please do.

»
6 years ago, # |
  Vote: I like it +4 Vote: I do not like it

Join the discussion today:

»
6 years ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it

Big day everyone: We've just hit 120,000 messeges in the server. Not spam I promise

»
6 years ago, # |
  Vote: I like it +10 Vote: I do not like it

Today we've hit 500 members! Here's a little chart that shows the growth since we've created this server.

Thank you all and hope to continue seeing you there.

Psst, invite your friends! runs away

»
6 years ago, # |
  Vote: I like it +4 Vote: I do not like it

We've hit 610 members and 200,000 messages! Algo-chan is now hosted on a server and is 24/7 online. New features will be deployed soon.

Thank you all for being so amazing and for your continuous support.

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

To celebrate the new year, you can use the command !cf magic "rank" to get a temporary role on the server. Happy new year everyone ^_^

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

Another milestone! The server has almost reached 700 members with 100 active daily on average and a total of 250,000 messages since creation. The utility bot "algo-chan" is stable and running 24/7.

Join us today in our post-contest-discussion.

Stay tuned for the new features and for some statistics about the server!

»
6 years ago, # |
  Vote: I like it -11 Vote: I do not like it

Hello everyone, first of all I'd like to thank you for the support you all have shown since the creation of this small community server. We have grown so much in so little time with an average of 100 members every month. The server has been doing very well in the past until recently I saw that some people are trying to ruin the experience for everyone else. That was when I and my fellow server moderators have decided to not tolerate any kind of spam or off-topic content where they do not belong. And since I created this server with a vision in mind that it shouldn't be strictly moderated and should be a fun little place where we get to know each other on a more personal level, I allowed a certain degree of discussion to take place in the general channel and because I know people have different tastes, we had about 20 channels where people can talk about life experiences/anime/etc.

But when things get out of control, you have to act accordingly. We decided to ban the abusers who are now trying to divide the community why creating a similar? server.

I feel like this post was needed to clarify the situation. This server administration is by no means abusive. We welcome EVERYONE. This is a place where we get to know each other and help each other. I personally have put a lot of time into this with the help of my dear friends noelnadal, Bassel, Noam527

Last but not least, I'd like to welcome our new Moderator tfg and thank him and the other moderators for their time and help.

Finally, thank you guys (again) for your continued support and I hope you feel the same way I do.

PSST: Stay tuned for a cool upgrade that's soon coming to algo-chan.

  • »
    »
    6 years ago, # ^ |
      Vote: I like it +16 Vote: I do not like it

    We will not tolerate racist hate speech such as "I hate retarded asians" and your continual abuses and bad manners is disturbing

    • »
      »
      »
      6 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Ye strictly followed by aka Flux and brdy. Please don't play the victim here.

      • »
        »
        »
        »
        6 years ago, # ^ |
          Vote: I like it +2 Vote: I do not like it

        Oh really????? What about me? I get it you're from middle east, but women have rights on internet. As soon as you and mods figure out my gender, I am banned!

        • »
          »
          »
          »
          »
          6 years ago, # ^ |
            Vote: I like it -14 Vote: I do not like it

          Yes, you definitely got banned because you're a woman. Definitely. Not because you were spamming, cheating on contests, lying, and being all around annoying and disruptive. I don't like racism and stuff but you getting banned was completely justified.

          • »
            »
            »
            »
            »
            »
            6 years ago, # ^ |
              Vote: I like it -15 Vote: I do not like it

            If anything, I was being honest. I didn't cheat on contests. That's a lie. I cheated on one contest and I myself admitted. Noam is straight up retarded and a liar. Pretty much everyone there tried to prove that I lied in contests when it was actually just one contest, and I am the one who told everyone that I cheated in the first place. Yup, I was banned for gender.

            • »
              »
              »
              »
              »
              »
              »
              6 years ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              Can you just stop trying so hard; we're supposed to be mature people, I don't see how you can think that you were banned by gender, which only shows that you're just trying to leech onto something so you could have a justified reason to be unbanned (and on that topic, you told me several times that the server gives you a headache, you hate it and you're going to make your own server).

              Aside from that we also unbanned you once (after we knew already that you're a female) and once in you started to act the same way as before (no change of attitude), so I don't know why you were surprised to be banned again.

              • »
                »
                »
                »
                »
                »
                »
                »
                6 years ago, # ^ |
                  Vote: I like it 0 Vote: I do not like it

                That server gives me headache and I hate it. But should that mean I should tolerate injustice?

                Also, your logic is flawed. I don't want to rejoin. How did you become candidate master with such poor reasoning skills. You must have cheated.

                If the above logic seems ridiculous then remember what your logic was to believe that I am the only one who cheated all the time on that server. You let your friends slide. You don't need proof, just speculation against someone you don't like. And bassel too. I still don't know why he banned me. Like, who do you think you are?

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

                True! Let's just ignore whatever eygmath said to me because, boy.

                The mods let him annoy me to the point that I started replying back, and Noam is very conveniently calling that as no change in attitude.

            • »
              »
              »
              »
              »
              »
              »
              6 years ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              Cheating once is still a pretty big thing, when you're accused of something you don't clear yourself up by saying "I didn't do it many times, I only did that once, and I turned myself in!". Noam is one of the best mods on the server and definitely most tolerant one, too. You should stop playing the victim card all the time, gender is not an excuse for being disruptive. I don't want to argue with you, please understand that you're in the wrong here.

            • »
              »
              »
              »
              »
              »
              »
              6 years ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              Also, which contests? Ask those genius mods which contests? Can they even tell you which contests I cheated that they so strongly believe. These mods and laggy are arrogant, sexist, authoritarian and give free pass to their friends. Whatever, so here's the thing.

              Osama discussed a cf round problem on discord, mods ignore it. Why? 1. Boy. 2. Egyptian. Nibabity cheats. What happens? Nothing. Pretty much every one on this server discusses problems during contests. Where are the mods then? They do nothing because boys.

              Now, me. Which contest did I cheat on? Leetcode. Just the one. Who caught me? No one. I admitted myself. But then why is everyone saying that I cheated multiple times? Because they want to spread this lie. I told noam it's a lie, what did he do? Ban me. Is there the slightest proof I cheated on any other contest? And I am liar? Lol, then I wouldn't have told you guys in the first place. I cheated because, very simply, I wasn't competing seriously. I joined 1/2 hour late in a 1.30 min contest. I go to hard problem, decide I can't solve it, and also, decide not to compete in that one, and ask on discord because it was 8am in morning and I wanted to know solution and go back to my normal life. Dogetrix made up stories about me cheating many times, and surprise surprise, mods believed it. Now, noam and bassel are candidate masters yet they believed a lie without proof. What could be the reason, gee I wonder....

              • »
                »
                »
                »
                »
                »
                »
                »
                6 years ago, # ^ |
                  Vote: I like it +2 Vote: I do not like it

                I promise you to look into it. However, you weren't banned because your gender. You have my word.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  6 years ago, # ^ |
                    Vote: I like it 0 Vote: I do not like it

                  You need to look into yourself, for banning me instead of eygmath when he was clearly abusing me. Like, I was called disrupter instead of asking eyg to stop.

                  Bassel needs to understand that accusation != proof. Sgu claims I posted inappropriate stuff. I protest that it was m_amath who posted it, but bassel believes him. He could have literally scrolled up a few messages to see who posted what, but he thought, well it's sgu's word vs knight. Knight is a girl, so obviously, knight has to go. Maybe that's why he took so long to become candidate master.

                  Noam needs to understand that his "observations" are some times simply incorrect.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  6 years ago, # ^ |
                    Vote: I like it +5 Vote: I do not like it

                  do you have any popcorn? It's not often I get to watch live drama

              • »
                »
                »
                »
                »
                »
                »
                »
                6 years ago, # ^ |
                Rev. 2   Vote: I like it +4 Vote: I do not like it

                I didn't discuss a problem during the contest ever, and if I did so, why didn't you request banning me before you got banned?!

                Also, next time when you talk about someone mention him to let him defend himself.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  6 years ago, # ^ |
                    Vote: I like it 0 Vote: I do not like it

                  I requested Noam to ban other cheaters. He simply didnt't care. You did cheat. You said the solution to a certain problem is using dfs, which then noam confirmed then and there and i pointed out it's cheating, but nobody cared.

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

                  oh, that AtCoder contest? It was a graph problem, so at least we need a graph traversal method?

                  Anyway, it wasn't intended to say that the problem can be solved using dfs at all, I just said that I coded this:

                  vis[node] = 1;
                  if(vis[node]) return;
                  

                  so it was some kind of sarcasm because the function will return from the first call (also I said this after I got AC).

        • »
          »
          »
          »
          »
          6 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          No man you were banned because cheating

      • »
        »
        »
        »
        6 years ago, # ^ |
        Rev. 2   Vote: I like it +8 Vote: I do not like it

        Laggy lmao you are playing victim

        • »
          »
          »
          »
          »
          6 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Please don't try to pull this out of context. I strictly meant you and Flux. I am in no way racist. This is just retarded. If that offended you then I am sorry but you were banned because you spammed and not because you're Asian. Sorry if you got confused.

          • »
            »
            »
            »
            »
            »
            6 years ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            No you randomly mute people from usaco and constantly curse/name-call.

            I'm sorry but I don't appreciate being called "retard" and "stfu" because of your personal opinion. Maybe you should focus on improving your manners and stop pretending to be beneficial only when it suits you.

            • »
              »
              »
              »
              »
              »
              »
              6 years ago, # ^ |
                Vote: I like it +15 Vote: I do not like it

              You told me to stfu and called me a retard and a terrorist

              I tried to talk some sense into you only for you to call me an assel 35 times in public!

              Sorry but this has to end

              • »
                »
                »
                »
                »
                »
                »
                »
                6 years ago, # ^ |
                  Vote: I like it -28 Vote: I do not like it

                middle eastern propaganda

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  6 years ago, # ^ |
                    Vote: I like it 0 Vote: I do not like it

                  Bassel: the first moderator is from France.

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  6 years ago, # ^ |
                    Vote: I like it 0 Vote: I do not like it

                  take this conversation else where, send me a pm if you care so much

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  6 years ago, # ^ |
                    Vote: I like it +18 Vote: I do not like it

                  wut is wrong with u all guyss??

                  why u all r fighting like a kid??

»
6 years ago, # |
  Vote: I like it +22 Vote: I do not like it

Feature announcement today; Stay tuned.

Spoiler alert; it's a very nice one and I am sure you'll like it.

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

For all our new members, I hope you enjoy today's post-contest discussion. Also worth noting is that Reyna is probably going to be available on the server during the contest discussion (after the contest ends) to watch the reactions and common questions. You can contact him and share whatever is on your mind. Only rule is to be civil and to always remember to respect the authors.

Again, hope you join us during the discussion and.. see you after the contest :)

»
5 years ago, # |
  Vote: I like it +10 Vote: I do not like it

Any reason server specific nicknames are forbidden? A bit weird for me to be [TGP] Kroge in there :)

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

How can one become a moderator in the server?

»
5 years ago, # |
  Vote: I like it +4 Vote: I do not like it

Hello All.

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

is At Coder beginner contest worth taking if i am not a beginner (I am somewhat average with 4 star on codechef and i know most of the important algorithms and data structures.)

  • »
    »
    5 years ago, # ^ |
      Vote: I like it -8 Vote: I do not like it

    But that's not enough to face to an ABC. I never solved all six problems in the recent ABC.

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

This server is dead.

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

 Amazing server where everyone respects rules

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Yes also we do sarcasm now and then smh

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

Hi Laggy, algo-chan is not working. Seems like currently there is no way to identify handle. Can you please fix this, or maybe setup TLE in the server?

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

    I have the TLE setup in my discord server. If you want I can run it on CP Discord. Only issue is that the server runs on my Laptop and I need a solution to keep it hosted somewhere 24*7.

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

      Wait what? How does a discord server run on your PC? Discord servers are hosted by discord and ran off of discord's server not your computer, your computer just sends and receives messages and manages the server.

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

i m not able to type anything and algo when i click on follow button it says that i don't hai webhook permission. Laggy

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

When a new user joins I want to put the welcome message in welcomes channel, how do I do that?

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

    Are you asking for some other server? Which bot are you using?

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

      Like I'm trying to make something. I'm asking that suppose when any user gets an invitation link of some server and joins it, then he receives a welcome message in the welcome channel, there is an inbuilt event in discord known as on_member_join() which I want to use to display the message in the welcome channel whenever a new user joins the channel.

»
2 years ago, # |
Rev. 2   Vote: I like it -8 Vote: I do not like it

Hello!! Your server is amazing. But I can't identify my handle there. Maybe the bot has been down for quite some time. Is there any possibility for the bot to be up and running again?

  • »
    »
    2 years ago, # ^ |
      Vote: I like it -8 Vote: I do not like it

    The bot was not active for over a year now. I dont think you should wait for it.

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

Where is link i can join the server?

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

The link is expired

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

I tried to join discord server but nothing happen just navigating to discord without any join request. I hope I can join.

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

Are this place for asking about problems and hints?

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

does it work now?