The title states the problem — source. Constraints $$$N \le 25e4$$$
The last post regarding the same on codeforces was quite some time back (and the one on codechef ended up trolling karangreat and being locked) and I think I need to revive it. Feel free to
contribution farm post CP related memes down below (refrain from posting memes that doesn't involve cp; this is not r/ProgrammerHumor).
Some rules to be followed:
I was solving 877F today. My code kept TLE'ing on TC #11 while using both
unordered_map<>. While skimming through the accepted solutions, I stumbled on this solution, which is exactly similar to my solution, but uses
tr1::unordered_map<> instead of the regular
Unsurprisingly, changing my code to
tr1::unordered_map<> gives an AC.
Now, I have some questions.
tr1::set<>, tr1::unordered_set<>etc better than the regular ones?
Hello codeforces community, I want to present to you all my codeforces Virtual Contest Selector to find and participate in virtual contests with friends without any hassle.
Have you ever wanted to participate in a virtual contest and compete along with friends? Have you faced the hassle of finding a common non-attempted contest to participate in?
This is the same problem I had while trying to find virtual contests and, like most other people, searched the net for a solution, but in vain(There was a bot on discord, but it has been discontinued.)
So finding no alternative, I decided to code my own finder. In any case, how hard could it be? Using the codeforces api, JS and random tutorials on the net, I made this simple, yet useful, virtual contest finder.
Showbutton on the right. All potential contests are displayed, along with the contest code.
ACsolution in the contest.
Semantic UI. You are free to use Bootstrap, if Semantic-UI can't accomplish the required implementation for new features.
Update : Now you may filter contests on the basis of division. Select the option(s) corresponding to the divisions you wish to find and click on show! So, if you want to compete in a Div. 1 + Div. 2 combined round, select
Div. 1 and