|
+37
Dear diari, today I wrote an offence for everyone who worked on a contest for something they can't really influence. I don't know and don't care why admins restricted me from posting, I just want my ability to write toxic comments back. Don't worry, it's just for 48 hours. I hope you will manage to think before doing such things again. |
|
+25
International Heuristic Olympiad 2027? |
|
+20
More like International Non-Batch Olympiad 2027. |
|
+18
gg but it wouldve been nice if you got it with a single accepted submission:) |
|
+17
anything but studying for the SAT |
|
+17
I like how one person gets their appeal and then immediately the sharks are everywhere |
|
+16
zero ball knowledge. cp was fun, is fun and will be fun regardless of AI state. also, cp has real value once you start applying for jobs, trust me. if you are in school, just do cp and attend olympiads. it's the best way you can spend time there for your future perspectives. whether there will be jobs in the future is another question entirely :) |
|
+15
The comments: 1% about the blog |
|
+13
Cornell University Pemguimn, nathanballman, hjk1030 |
|
+13
ACPC will be held from 11 December to 15 December. If you have not yet posted your team information, please do! I wish everyone the best of luck and cannot wait to meet all of you! |
|
+13
Thanks. My problem. |
|
+11
N = 4, X = {1, 1, 1, 3}, Y = {2, 1, 4, 1}. Answer should be Draw. |
|
+10
Greedy Approach will not work in this case. Try to map the problem to the House Robber problem. And the reason why Greedy algorithm fails here is because skip doesn't mean a +0 but toggling the authority to someone else for later spendings. |
|
+10
Same qwq |
|
+10
Congrats on 97th* (standings were weird, mb) as a newbie, curious how you did F? I had an idea, but I feel I overcomplicated it too much and was wondering if someone so strong as yourself could explain.
|
|
+10
Idk. I like my scoreboard. I like the adrenaline rush from being in 30th place for like 20 minutes and then watching as it decays down and down and down while I am hardstuck on E |
|
On
nguyenthenam1104 →
The mindset shift that helped me break through the 1400–1550 plateau, 41 hour(s) ago
+9
not to be captain obvious but judging based on your rating you haven't broken through the 1400-1550 plateau |
|
+9
Yep, International 0, 20, or 80 (equivalent to 100 on brutal god-level 6 non-batch heuristic problems) Olympiad 2027 |
|
+9
Congratulations to ItsNotMeItsYou! |
|
+9
ItsNotMeItsYou orzzz |
|
+9
mambo has probably (hopefully) been temp-banned multiple times |
|
+9
If the initial string isn't alternating, then it's always possible to keep the string non-alternating after an operation, provided that $$$n$$$ is even. For simplicity, let's say the string has the longest contiguous span of
|
|
+9
this introduces unintentional cheating though. You know how people love to discuss about contests the second its over, even for usaco which implements exactly this idea? unfortunately, many people who have friend groups will naturally just know "c is dp" or something along the lines of that because they use discord, which most people use anyways. It works for you because you are not Korean and probably do not have contact with many Koreans, who are the main audience of DOJ, but doing it on a site that you have contact with the people outside of the site makes it inevitable that something will be leaked at some point, and you cant just ignore that completely when you do the contest. Even if you alone can be disciplined enough to not open discord for 3 days, saying that about everyone is far harder to be confident in, unintentional leakage will happen in this scenario, while it cannot in the current scenario (being off discord for 2 hours when you're focusing on a contest vs 3 days is completely different). |
|
+8
More like International Stupid Subtask Implementation Olympiad 2027 |
|
+8
orz Ryazimn |
|
+8
I hope sub 400000000 wouldn't be Skipped |
|
+8
ItsNotMeItsYou Congratulations !!!!! |
|
+8
Probably for cheating or suspicious activity, and about using vscode extension alone usually wouldn’t disable an account unless it automated submissions or abused the system |
|
+8
The ultimate not found error |
|
+7
I got the palindrome >:) |
|
+6
NGL, website's design is very goofy |
|
+6
i miss that kind of misery |
|
+6
would be better if it is an Accepted submission, but congrats! hope that i am still breathing when 500,000,000th submission happens... |
|
+6
Down with weekday contests I can't do!!! I think having a short window can help with the cheating issue a bit, even if people don't deliberately cheat unintentional leakage can still happen |
|
+6
bump!!! contest is in 2 weeks!!!!
|
|
+6
The problems solved in private contests can't be checked without registering for them, so ig it might have been solved in a private contest. |
|
+5
Add the problem you want to submit into a mashup in gym, then submit there. (I think) This works because gym has a separate queue |
|
+5
Nice contest, here are solution sketches for A-G: A. Simulation, $$$O(l+a+b)$$$ B. Sort the array, and for every block of $$$k$$$ consecutive elements either eat them individually or make juice, whichever is optimal, $$$O(n \log n)$$$ due to sorting C. The answer is YES if and only if $$$n$$$ is even and the string is not alternating, $$$O(n)$$$ D. Right to left DP, store the best possible score for each player (max for Sunny, min for Aubrey) if they are currently on the left, transitions are $$$dps_n = \max(x_n-y_n, 0)$$$, $$$dpa_n = \max(y_n - x_n, 0)$$$, $$$dps_i = \max(x_i - y_i + dps_{i+1}, dpa_{i+1})$$$, $$$dpa_i = \max(y_i - x_i + dpa_{i+1}, dps_{i+1})$$$, answer is based on $$$dps_1$$$, $$$O(n)$$$ E. Binary search on the answer, for $$$m$$$ steps the smallest possible position of Aubrey where $$$y = \lfloor m/(k+1) \rfloor$$$ and $$$z = m - y(k+1)$$$ is $$$(2^y-1)(k+1-z) + (2^{y+1}-1)(z)$$$, $$$O(\log^2 k)$$$ F. Create an auxilliary directed graph of $$$2n$$$ nodes where $$$n$$$ are a "black mode" and $$$n$$$ are a "pink mode" which represent the next edge color you must traverse to keep the path alternating, and check if there is a cycle in it, $$$O(n+m)$$$ G. Sort the array, the optimal set of pictures to choose for a tournament is the first $$$n/2$$$ and last $$$n/2$$$, the optimal order eliminates the largest elements last, brute force on every tournament size, $$$O(m \log m)$$$ Trivial bonus for G: Solve it with update queries Spoiler |
|
+5
He is not wrong. CP doesn't bring me any benefits at this point. It only helps you in the initial stage of your career, or in your university life, when you are participating in ICPCs. I m past both. I don't have enough time to practice, nor any benefits even if I achieve great things in CP now. Growth is nearly impossible, because I can't practice enough hard problems. At this point I am only doing CP, part of it is stubbornness, mostly it is because of a feeling of emptiness. At this point CP is the only thing I have left that gives me any sense of meaning in life. It is because I can't substitute CP with anything else that gives me the same sense of meaning as CP did once, I can't leave it behind. I don't even enjoy it anymore |
|
+5
it's its username, not nick, mate |
|
+4
It was CE :) |
|
+4
Btw alts are prohibited by rules. |
|
+4
Actually there is a simple solve for F: We can decompose the given graph as follows: a vertex $$$2u$$$ in the new graph will represent vertex $$$u$$$ from the original graph if we reached it via a black edge, while a vertex $$$2u + 1$$$ will represent vertex $$$u$$$ if we reached it via a pink edge. Once the edges in new graph are added correctly, we simply need to check for the presence of a cycle within each component of the decomposed graph (i used translator so sorry if smth is not understandable) |
|
+4
Pre-AI times it was actually quite fun, but now I don't think it's worth it anymore |
|
+4
No? Both are $$$O(V + E)$$$. (Unless you were talking about expensive not in terms of runtime?) |
|
+4
Not to mention clarifications (while they can still be done) are much more annoying with windowed contests. |
|
+4
can someone explain H? |
|
+3
Just my status when I made it, and still true to this day. I don't even have the ability to get a girlfriend yet. |
|
+3
We will be realeasing 2025's camp contest. Feel free to participate in them! |
|
+3
but only in the evening |
|
+3
So I ask, am I just dreaming? |
|
+3
I think the other issue might be the live scoreboard — those taking it earlier would have much less information than those taking it later |
|
+3
20% of them are from iran! |
|
+3
For me, a windowed contest (like USACO) is a fundamentally different experience. I think they can have benefits but shouldn't replace existing live contests. |
|
+3
This still brings more benefits to those who take the contest later. |
|
+3
First off, nice solution. Thanks for sharing it. Now, I don't like to post negative comments on blogs that took some work to put out but I just find this one to be too confusingly written and most of the pictures in it to be distracting. It also just keeps on going for some reason. It very well could end after stating lemma 1. A proof for it is barely needed because it's pretty intuitive why it's true (and the argument is overcomplicated imo). The rest of the blog gets into the weeds of maintaining the data structure without first giving any overview of the approach. Any cyan+ coder will find the details redundant if u just gave an overview of the idea. And as much as it gets into the weeds, it does not provide example code... |
|
+3
CumBack |
|
+3
I'm sorry, I know I'm too much |
|
+2
I love you so much that it's dripping |
|
+2
https://codeforces.me/problemset/submission/706/400000000 the person sitting next to me got it! |
|
+2
Hello, I restored asap, sorry for that. |
|
+2
My account ilia_rr just got disabled mid contest. Is there an official procedure for appealing the suspension or contacting the administration to have my account reviewed? |
|
+2
Hello, I also participated in the div3 as https://codeforces.me/profile/lydxn, and my account was disabled during contest. None of my submissions were copied or cheated, so I believe it was a wrongful offense. Could you review my account please? Thanks. Vladosiya |
|
+2
holy difficulty |
|
+2
Guessforces |
|
+2
I swear it wasn't there when I first saw it. |
|
+1
ofc. that's the point, you need to become top tier and win something, then it makes sense. otherwise there is no point to do it as you said, agree. |
|
+1
The kind where you are nice to me |
|
+1
p=np lol |
|
+1
what is his rating graph bro |
|
+1
Is this a real div3 contest? |
|
+1
C was a nightmare to guess |
|
+1
What are these names man |
|
+1
"You lack basic critical thinking " -> thats why my IQ is 157 I just alr said in blog that sometimes if im in rage .... its not ur business, pls stop Nowadays, my mental health is not stable, So many cheaters, contests problems... , not reaching goalsin CF ..., couldnt managed to quit CF & grinding qoj.ac ..... and EXTRA random kid saying non-sense |
|
+1
"ps threatening admin to do it again if any action is took. then he is a brat; thats a fact and u shouldnt feel bad if someone says that to u" -> wow, so brats like me should be bullied too !!!! I'm BRAT, poop, useless, larper, idiot, loser, dumb, bastard, bozo, rude, dirtbag, fool, jerk What i did in comments and got warned 2nd warning was for -> negative comments in a contests blog. like "problems are garbage, ai slop problems ......" in all of the 3 comments I criticized the contests problems. u're saying like I did some huge mistake and I should be bullied by community ok from now on i'm brat cuz i wrote criticizing comments !! REPLY FOR THE MSG BELOW: could've written 30+ lines of reason. But in that moment I was barely writing no point on arguing with BRAT like me. u'll gain nothing |
|
+1
I think I arrived at a complete proof. Odd lengthed or alternating strings are bad, so we talk about even lengthed and non alternating ones. Suppose we pick the pair (i, j) and call P = s[0 ... i — 1], X = s[i + 1 ... j — 1] and S = s[j + 1 ... n — 1] Claim: We can force PXS to be non alternating (empty strings are assumed to be alternating) Assume, that s[i] = s[j] = '0' The only way PXS can be alternating iff P, X and S are alternating and X connects to P and S with the same bit before flipping. First, assume that at least one of P and S is non empty. Assume that it is P and S is empty for convenience. The only problematic triplets are 101 and 000. However, 101 is not possible under our assumption because s itself would be alternating in this case. In 000, simply pick any but the middle 0 and the resulting string contains at least one equal and adjacent pair. If both P and S are empty and n >= 4, we can select a suitable same bit from X to reduce it to the previous cases. If X is empty, then there must exist only one pair of 0s and that too adjacent ie only one occurrence of "00". Even in this case, we can reduce the string to an empty one. So, I think the conditions are sufficient. I would be happy to have someone hack this. |
|
+1
I am also talking about induction. I just wanted to prove the sufficiency of the two conditions. Necessity is trivial. |
|
+1
BTW I asked how YOU did F. Not how AI did it for you :) |
|
+1
shahab |
|
+1
SCC is only a bit heavier and gives a bit extra constant factor. though they're the same asymptotic complexity of $$$O(V+E)$$$. i think using SCC is still an overkill though since topo sort is simple. (。・ω・。) |
|
+1
I made it! |
|
+1
The AI you use for cf contests should do just fine at all of those |
|
harder than IOI. |
|
+1
As I stated earlier, previously I only cared about the solve count, whereas now I care about mastering the problem itself |
|
+1
I hope I can solve ABCDE. |
|
+1
Dripping from my arms and such |
|
On
Hesham.Elkhatib →
AlgorEngine: personalized training plans for Codeforces [UPD: Competencies], 47 hours ago
0
Auto comment: topic has been updated by Hesham.Elkhatib (previous revision, new revision, compare). |
|
0
orz ihanif |
|
On
Hesham.Elkhatib →
AlgorEngine: personalized training plans for Codeforces [UPD: Competencies], 47 hours ago
0
Auto comment: topic has been updated by Hesham.Elkhatib (previous revision, new revision, compare). |
|
On
Hesham.Elkhatib →
AlgorEngine: personalized training plans for Codeforces [UPD: Competencies], 47 hours ago
0
Auto comment: topic has been updated by Hesham.Elkhatib (previous revision, new revision, compare). |
|
On
Hesham.Elkhatib →
AlgorEngine: personalized training plans for Codeforces [UPD: Competencies], 47 hours ago
0
Auto comment: topic has been updated by Hesham.Elkhatib (previous revision, new revision, compare). |
|
0
true for the fun part, but no one wants to waste their precious time for a thing where outcomes can be mediocre... nuanced for the olympiad part, cuz first of all not all people are in their school rn, and it makes no sense for a grown ahh adult to do cp when they need to look for a job(normal DSA is sufficient, sde jobs are in the ruin anyways) and secondly, even if they are in school then it is much better putting ur efforts into things that matter more like grades, entrance exams... the olympiad thing only works if u are in the top people from ur region, a mediocre olympiad kid is gonna get nothing |
|
On
Hesham.Elkhatib →
AlgorEngine: personalized training plans for Codeforces [UPD: Competencies], 46 hours ago
0
useful |
|
0
Auto comment: topic has been updated by AndrewHazem (previous revision, new revision, compare). |
|
0
Auto comment: topic has been updated by AndrewHazem (previous revision, new revision, compare). |
|
On
vats.manthan3 →
Why my solutions are in "QUEUE" for so long! Is it usual or is it particularly happening with me?, 46 hours ago
0
Same for today as well. |