Hello Cowodeforces :D
vgoofficial, Lilypad and I are very to invite you to participate in Codeforces Round 993 (Div. 4), which will start on Dec/15/2024 17:35 (Moscow time). There will be $$$8$$$ problems, with one split into two subtasks, to be solved in $$$2$$$ hours and $$$15$$$ minutes. Participate or you'll have to wait another millennium for a Div. 4 round.
The format of the event will be identical to Div. 3 rounds:
- ICPC rules with a penalty of 10 minutes for an incorrect submission;
- 12-hour phase of open hacks after the end of the round (hacks do not give additional points)
- after the end of the open hacking phase, all solutions will be tested on the updated set of tests, and the ratings recalculated
- by default, only "trusted" participants are shown in the results table (but the rating will be recalculated for all with initial ratings less than 1400 or you are an unrated participant/newcomer).
We urge participants whose rating is 1400+ not to register new accounts for the purpose of narcissism but to take part unofficially. Please do not spoil the contest for the official participants.
Only trusted participants of the fourth division will be included in the official standings table. This is a forced measure for combating unsporting behavior. To qualify as a trusted participant of the fourth division, you must:
- take part in at least five rated rounds (and solve at least one problem in each of them),
- do not have a point of 1400 or higher in the rating.
Regardless of whether you are a trusted participant of the fourth division or not, if your rating is less than 1400 (or you are a newcomer/unrated), you may choose to participate rated or unrated.
We want to express overwhelming gratitude to the following orzosities for making the contest possible:
Vladosiya for reviewing the contest.
(VIP+) chromate00 for the idea for one of the problems.
Our testuwuers: awesomeguy856, (VIP) Dominater069, Error_Yuan, Edeeva, zrnstnsr, (VIP) LMeyling, 18o3, Intellegent, amoeba3, hbarp, efishel, ShUO-_--, larush, (VIP+) chromate00, SkibidiPilav, kevlu8, edwardmh, mathtsai, RobinFromTheHood, Filikec, macaquedev, sissi6827, and members of my high school's coding club including but not limited to IceWolf898, MatthewC3297, and ETL.
(MVP++) MikeMirzayanov for Codeforces and Polygon.
guys i think we got a bit carried away while writing this contest
yea fr
Always the good round from the goat!!!
Will there be an interactive problem ?
This is my first contest in this platform, but it seems my contest has been marked unrated! How could I have appeared in previous 5 contest if I am unrated and why should I? It doesn't seem right.
Um no, it's more like your name won't be shown in the standings, but the round will be rated for you I believe.
yes[user:cry]
...
Codeforces Round 488 by NEAR (Div. 1)
As a tester, I can confirm that one of the problems was based on Honkai: Star Rail.
WOW zrnstnsr tested round
tester leaking contest exposed 2024 caught on camera
As a tester, I can confirm that all of the problems had Tle for me.
Which?I can't find that!
It's C problem.
Thanks!I got it,Ricco will teach you to study in the Paperfold University.
8 problems in 2.25 hours? time to :cope:
It feels weird reading time like that.
As a participant, I hope there are no problems based on Honkai: Star Rail.
How can I become a testuwuer?
You can message me to be considered, but I usually only accept / reply to people that seem active, promising, and honest on a variety of factors.
I think I know what is drawn on that picture. It's Gekko's moshpit on budget.
But I think you need to shut the fck up and stop cheating
You are right on time man, the justice kicked in almost a year after my last rated contest. Batman from wish.com
bro's got some anger issues to deal with
As a tester, I just want to vouch that Intellegent is very intelligent
As a tester, I don’t know how he came to this conclusion.
Intellegent orz
As a tester, I can confirm that there will be eight problems, with one split into two subtasks, to be solved in 2 hours and 15 minutes.
Additionally, I can confirm that each problem will require you to write up to zero or more lines of code.
Thank you so much for the valuable information! It will be incredibly helpful not only for this contest but for all my future contests as well.
As a tester, I was tested.
PS Welcome to CP, Shrek Jr :)
As a tester, I don't know what kinda brainrot I just created with the artwork
You created a M A S T E R P I E C E
As a tester, the art for this contest is beautiful
probably my last contest on cf .hoping for good perf :)
I analyzed your account.
Looks like you can reach expert levels in 5 months with good practice.
Don't leave CP :(
As a tester, ChatGPT solves n problems in this contest where n is an integer such that 0<=n<=10
As a tester, a few problems of this round took me to nirvana. Hope you enjoy too!
As a tester, i have no clue how i got VIP without doing anything
You ate 5 STAR maybe...
is that a lobotomy corporation reference
As participant, I hope there are problems based on lobotomy corporation
Project moon sleeper agent activated
this place is nuts!
hope i can reach specialist after this round and can anyone predict how much rank should i get for a 100+ in div4?
GEOMETRY DASH MENTIONED!!!!11 FIRE IN THE HOLE!
FIRE IN THE HOLE
FIRE IN THE HOLE
After becoming a specialist, this is my first unrated contest in Div. 4. I think it will be fun!
we got an orange-ranked lobotomy patient before gta6 thats crazy
Would tourist beat John Pork in a 1v1 fight???
MikeMirzayanov please answer this important question
this comment's cringe af
is auhthority from this contest from russia? cuz im taking notes of words btw!
what is point of div4 when ChatGPT exists at this point?
I know, I know rule exists however you know
I don't know why we still have this kind of comment every time. It's about general perception: if we all agree that we must not use AIs during contests, then we just simply need to ignore those who use AIs and don't give credits to them. It's up to the admins how much they can actually catch the cheaters, and there's not much we can do about it. We do contests for our own good, not to perform better than AIs.
to let those who don't use gpt improve.
As a tester, the problems are very skibidi
cute anime girl testing problems?!
Wow. Another cry round! <3
Wow.
Nice blog!
As a participant I will be giving the contest from this account only.
Another div 4 where thousands of indians and bangladeshi will be caught cheating
cool
Div Fow!! <3
To every Newbie/Pupil trying to up improve. I wish them All the best.
Bro got caught red-handed in ratism.
Hope to reach master this round
h
can anybody tell me where i can practice window function questions in sql ?
not the right place to ask
try sql 50 from leetcode, they cover a lot of good ques and concepts.
https://leetcode.com/studyplan/top-sql-50/
As a tester, I believe this will be the best Div4 ever! Enjoy it!
60th comment ;D
69th comment :)
'Participate or you'll have to wait another millennium for a Div. 4 round.' true that.
As a, I can say this.
Stop, wake up bro, fire in the hole is old meme, stop using it
Umm, you forgot to mention and orz MikeMirzayanov
Wait, how is this emoji or sticker work? I mean how can I use them
How can I become a legendary Grandmaster?
Solve all div.4 problems in the first minute
the gd community is getting out of hand, even codeforces isnt safe from lobotomy anymore :sob:
MY TIME TO BECAME A PUPIL .
good luck, for me it is time to became a newbie
ye so do i
nah, your rating is growing, so it's more probable that you became a specialist than a newbie
what's the deal with vip and vip+ testers?
hehe
your joke is making the rounds again tickbird
I think they're very "Aoouhhhh!" to invite us
Just became green for a week, hope don't gray back this time :)
Can you make div 2 next time
hope you all get greens and give your 100% with best wishes
Barely eligible (flex) :)
is this contest rated ?
yeah
what will be the points distribution ? anyone ?
ICPC rules,no score only number of problem solved
As a participant, I hope I can solve the problem based on Honkai Star Rail.
May the journey lead us skyward.
how did you escaped from Teyvat?
Congrats you solved the problem based on Honkai: Star Rail
doesn't this kinda defeat the purpose of div 4 contests since most participants are newcomers,and don't really have a lot of experience with contests.
is this why my contest got converted to unrated?
we haven't given ratings yet ig cuz no one graphs is showing the div4 rating
ah yes , it just got updated, i was sulking af till now
same lmfao
I need 200 points to reach cyan,I hope i can do it today.
My first contest!
All the best
I forgot about it, was reminded by my friend to do my college assignments T_T.
me too
I'm new and haven't participated in any rated rounds. Can I still participate?
thanks.
yes
Beautiful art by chromate00!
As a tester, I can confirm that one of the problems was based on Honkai: Star Rail
leaking contest exposed in 2024 caught on camera
Knee surgery tomorrow
As an unrated participant, I wish everyone good luck and a positive delta.
...and for myself, contribution++. :)
Codeforces Round 1000-7
Never cry, and keep Smile ing.
Out of my curiosity, does Lilypad come from HIMYM?
Really confused whether to participate or not....because have an habit messing things around in div3 and div4
To be honest, it doesn't make sense to have $$$VIP$$$ and $$$VIP+$$$ testers. $$$VIP$$$ already has $$$very$$$ in its name, so why don't you call $$$VIP$$$ testers $$$IP$$$ (important person) testers and $$$VIP+$$$ testers $$$VIP$$$ testers? Because I'm sure the $$$VIP$$$ testers weren't integral to the round's success, even if they might've helped out a bit. And contributing a problem arguably sounds like a $$$VIP$$$ thing, but I wouldn't call it a $$$VIP+$$$ thing.
play hypixel
A Rare & Interesting Div4 Contest :)
A div 4 contest? Maybe I could get my rating up finally
Hoping the problems to be bit easy unlike last div-4 !!
Was hoping that I could solve at least 4 problems but have to settle for 3 problems today :-(
As a GeometryDash 4k stars player , I feel sorry that I miss this round :(
Excellent contest! I really liked 3 of the problems.
(Btw an interesting coincidence, the first problem of this contest is named "Easy Problem", there is another problem on CF of the same name 1096D - Easy Problem, which happens to be the first DP problem I solved in my life.)
The problem names are references to geometry dash difficulties
BIG FAN BHAIYA
that was a great round
Nice Div. 3 round
I've added hints and thought process for G1. Medium Demon Problem (easy version) on CF Step
How to do G2 ?
Make a directed graph $$$i \rightarrow a_i$$$ and another inverted graph $$$a_i \rightarrow i$$$.
For G1 : Answer is the length of the longest chain which falls from a cycle + 2. Can be calculated by a multisource BFS on the inverted graph. For G2 : Answer is the largest subtree size of a node not belonging to any cycle + 2.
this problem solve by dp ? :0, I think it is graph problem, but I fail
Hint for D:
First print unique numbers which appeared in array 'a' in order then print rest of the numbers which does not appear in array 'a' but each of them only once (and take care that 1 <= bi <= n).
ex: 4 5 5 5 1 1 2 1
Ans:4 5 1 2 3 6 7 8 --->(4 5 1 2 appear in order in a)
ex: 1 1 2 2 1 1 3 3 1 1
Ans:1 2 3 4 5 6 7 8 9 10 --->(1 2 3 appeared in a in order)
bro why cant i solve more than 3 probs...skill issue ig :(
yeah, 3 months ago, my maximum number of prob I can solve is 2, till now it just increase by 1, but I feel a little bit better, maybe you need to try more 1300-1500 point problem to realize more things rather than around 800-900
That was a real mathforces
Anyone has a neater solution for D ? I solved it using simulation because it is known that a solution exists but I would appreciate a neater solution.
You can simply make every number appearing once in the array, then all of them will be mode.
Understood.
Just looked at your performance in the contest. You performed so well. Congratulations !
yes just output the distinct element in their first appearance and continue with the normal output in the rest 12345 so on
1 1 2 2 1 6 3 3 1 4
1 5 2 7 8 6 3 9 10 4
output 1 at 1 2 at 2 6 at 6 3 at 3 4 at 4 rest out the normal remaining out of n
note that the max value of an array element is n, so keep track of the numbers from 1 to n which dont appear in the given array. now, traverse the given array from left to right, if an element occurs for the first time, add that to the answer array, else you add a number that does not occur. Now every element from 1 to n will appear only once, hence the mode criteria is satisfied
Print all numbers form 1 to n (which implies all unique number in answer array 'b') but first print all the numbers in order as it appeared in array 'a' and then rest leftovers.
see this
For G1 I thought the process to remove the cycles and count the longest chain , such a shame couldn't Implement it in O(n)
the moment i pressed submit F contest over :(
I spend more than 1h on F..."Time limit exceeded" is not so beautiful.
Problem F was cool; loved it!
How did so many people solve E? I couldn't come up with even a logic that works.
Iterating through all $$$n$$$ and calculate $$$k^n$$$. Notice that you only need to iterate till $$$k^n \leq 10^9$$$, and since $$$k \geq 2$$$, it will be at most $$$30$$$ possible $$$n$$$. Then find the bound of $$$x$$$ for each $$$k^n$$$. 296642769
Yeah I understand now why n can be at most 32 or so. How would I have come up with such an idea in contest? I get that I need to practice more of those problems.
nice E, F
My best performance so far, hope to finally reach specialist (still don't know where my G2 went wrong sadly... could've been better).
There's no constraint on either $$$n\cdot m$$$ or sum of $$$n\cdot m$$$.
Nopes , my soln is not varying on O(n*m) still it's getting Tle on testcase 25.
Testcase 25 hacks almost all $$$O\left(q(\sqrt{n}+d(n)\log{n})\right)$$$ solutions. It's added on open hack phase.
One of the accepted submission of a friend of mine, when I submitted it through my id , it's now giving tle on test-25, how can this be possible
Check out my submission
Initially got tle on test 25 ,after changing long long back to int, it runs just within the constraints.
296802950
Why can't I see anybody's submissions in/out of contest except mine? It says N/A. Please help me out.
good contest
Nice problems F, G1, G2 !
why my submission 296750050 gives tle, i am not able to handle overflow may be.
Try Binary Search to find the first element within the range in stead of Brute forcing two nested loops.
296676561
E took me over 1hr because finding overlapping ranges is the hardest thing in the world.
I'm just bad man (╥﹏╥)
I'm not sure why my submission for G1 is getting TLE, any help would be much appreciated. Thank you!!
for G!, can someone point out why am i getting TLE: https://codeforces.me/contest/2044/submission/296745366
Oh my god. Who could have imagined how angry my stupidity makes me(
As a geometry dash player, I loved this round XD
Sometimes i get scared by my own stupidity, lost 1+ hrs debugging E, where i just had to include n = 0 as well, was so close on g2 but couldn't complete under time. Anyway great round as always. Thank you
Any explanation for the image?
Happy to have solved 6 problems in a Div. 4 contest for the 3rd time! Yay!
It was the FIRST div for cry that I didn't suffer in it, please keep going like that ♡
I wish the best for you all <3
Nice Problems
296729877 I wrote this program for harder problem and i understand that it has time complexity issues but i have no idea how to make the code more time efficient with the approach I used, would greatly appreciate any help
You had the right idea to realize that by simply permuting the order of numbers 1 through N to prioritize the numbers that showed up first. This would result in an array where all of these numbers would be considered as a mode
(count == 1)
.I believe the really slow part of the code is the nested for-loop you have for appending the numbers that don't show up because it would run an O(n) search for every number 1 through N, for every index until it fills the array. To fix this, you could have a
lastSeen
variable to track the lasti
that you appended to the array, so that instead of looping from 1 through N, you would cut it short to i through N.To make it cleaner, you could use
sets
instead. Create a set (straight from the input) of all numbers that show up in the original array. Useset_difference
or similar method to obtain all the numbers that didn't show up. Then, combine these two by appending the second to the first while maintaining the order of the set. That way, you don't have to spend O(n) every time you test for whether a number has already appeared.Hope this helps! :)
P.S. Here's my submission and implementation of the above. It's a bit messy though since I'm a noob :P 296684484
when ratings would be given for this contest???????????
I too have the same doubt.
Edu-style rounds (including Div 3 & 4) will go like this:
When ratings are updated, the "RATING CHANGES" link is added to the contest standings page. If there's no such link, the ratings are not updated yet. Just wait until the ratings are updated.
I have a doubt will this contest will be rated for me or not ? I have a contest rating of 750 ..? The contest is completed but my rating is not updated why ?
Because System Testing is going on.
Nope it is Showing that Finished.
According to my experience, for the contest that has an open hacking phase (e.g. Div. 4), its system test will begin after ~15 hrs after the end of the contest.
The system test often lasts 2~3 hrs, then the ratings will be updated within half an hour.
So, just wait for about 3~4 hrs (sometimes longer, if the contest has a lot of participants)
Ok Thank u. Any suggestions for me so that I can reach pupil ?
No shortcuts — just step out of your comfort zone and start solving problems slightly beyond your level.
Specifically, if your rating is X, then aim for problems with a difficulty level of X + 200.
You might feel frustrated at the very beginning, but as we all know, practice makes perfect!
First blog in which there was not a thanks to MikeMirzayanov
why i can not rating
if i want rating,should i chose which one so that i can rating
would the newcomer have rating???
Newcomers and those who have <1400 rating will be rated. Just wait.
thanku!
Could anyone help me with my code? https://codeforces.me/contest/2044/submission/296745472 Codeforces said it has runtime error on test case #10 . But when I try the code and the test case #10 on my pc, also on ideone ( https://ideone.com/eVDhX0 ), I found no error. Is there a fix for my code? I just can't find the error.
has the rating come out for this contest?
fire in the hole
At first, I apologize for registering an alt. But it's an necessity because my account Transparent_heart was banned while participating in the Div. 4 contest.
And I can't send message to cry.
Hi cry, I participated in the Div. 4 contest yesterday. The problems were awesome and I really enjoyed the contest. What's more exciting was that I was on the first page of the standing! I really appreciate you and other authors as well as the coordinator for preparing such an fantastic contest!
However, everything changed at the time I submitted my solution of problem F. I'm really shocked that I was banned! I don't know why. I should have been reached my best performance but now my account is disabled!
All the idea is from my mind and the code was written by myself. You can see my submissions to prove it.
Do you know the reason why I'm banned? I just want an explanation because that account is very important to me. I VPed 30+ contests using it!
I may be a little radical. Please forgive me. But I'm really frustrated and confused. Sorry :(
The most difficult thing now is to get the admin to see my comments lol
Hi Vladosiya, sorry for disturbing but can I have a few minutes of your time to get a reason?
A day goes by. Messaged admins, got no reply, talks unread, account still blocked... Time flies, desperate deepens.
No one had ever sent me a word about this. It's just blocked. All of a sudden. At the same time I realized I have reached a 2700 performance, although it's provisional and vanished the next second.
I have just received Vladosiya's message. He said I'm innocent and would remove the penalty later. I'm very excited because I finally got a fair shake after a day of waiting. Thanks a lot Mr. Vlad, may I express my sincere gratitude to you.
Will i get rating from this contest because i only have done two contests before this one.
Yes you will :)
296697987
This is still in queue I am not sure why? I submitted this during the contest.
Will it not count?
You got an Accepted verdict. Congrats!
Hehe Thanks I step closer to Expert
pupil again!!
This was my first contest. My rating hasn't updated. Any idea :(??
I created this account years ago but didn’t participate in any contest. Should i create a new account???
ratings are updated already, you participated as an unrated participant in last div 4
Totally unaware! Thanks..
I have entered rated in the contest but still my rating in contest is showing N/A can any editor have look on the issue?
Hey @cry , @vgoofficial, @Lilypad Question D my python code runs in O(N) however it gets a TLE after hacking while the same code in C++ got accepted Is there anything I can do about this ?
~~~~~~~~~~~~~~~~~~
tests = int(input()) for _ in range(tests): n = input() arr = list(map(int, input().split())) # print(arr) # future = set(arr) ans = [] nums = set()
print()
if item not in nums:
This actually runs in $$$\mathcal{O}(n)$$$ now your code runs in $$$\mathcal{O}(n^2)$$$ which is not good , do it like me , maintain an array $$$done$$$ and check for each index normally , instead of searching.
Nums is a set tho and searching in a set is O(N), also I retyped the exact same code in c++ and it got accepted
because searching an element on set on C++ is $$$\mathcal{O}(\log(n))$$$ which is fine constant factor ($$$\approx 20$$$) , but in Python it's $$$\mathcal{O}(n)$$$ is too much making it quadratic.
so $$$\mathcal{O}(n\log(n)) \approx \mathcal{O}(20n)$$$ is much better than $$$\mathcal{O}(n^2)$$$
$$$n=|s|$$$
A set is a hasmap right ? Hashmaps have o(1) lookup time https://stackoverflow.com/questions/7351459/time-complexity-of-python-set-operations
O(1) lookup time, in some situations, but also it can be O(n) in others. handmade tests can be made so that the O(n) situation occurs, and for your code to be O(n^2)
you got hash hacked, refer to this. For this problem i would recommend to use a boolean array tho.
So one of my solutions got flagged as some user Ravi_sonamani01 had some portion same. I was was the first one to code my solution and i dont know this user. I ensure that i have not leaked my solution. can you please help me how i can solve this issue as i am near to reaching pupil
Query About Unrated Status in Round 993 (Div. 4)
Hello, I participated in Codeforces Round 993 (Div. 4) as jatin_23, with a current rating of 351, and expected to be rated in the contest. However, my registration was marked as unrated, even though my rating is below 1400.
Could you clarify if this was due to an error during registration or another reason? I’d like to ensure I’m correctly registered as rated in future contests.
Thank you!
This was my first contest, and I solved three problems. Will I get a rating? If so, when will the rating be updated?
Seems like you do not meet the criteria for the trusted participants stated in the announcement. That's why you are not rated.
what is hacks it ruining my submissions..
How is it possibile that I got accepted during the contest on problem F and now it gives me TLE on test25. I wrote the solution with the maps and also in the editorial it is a optimal solution for this problem.
Using unordered_map instead of map change the result to accepted. If during the contest it would have given me TLE I would have changed it and got accepted. It doesn't seem fair.
https://codeforces.me/blog/entry/137306#comment-1228128 Check this out.
The open hack phase is an official phase that was announced prior to the contest. Many submissions get hacked during this phase and many others fail on system test on these tests. It's not unfair.
296865335 296893248 The two are very similar codes and I feel they are actually the same but the give a very diff runtime with the first working in 2s and the second in 4s , what might be causing that ?
Help needed. A newbie here I did submit 3 problems but my rating fell down, Anyone know why
I believe that rating change depends on two things:
1. Your expected ranking before contest based on your ranting
2. Your ranking after contest based on your performance
if 1 = 2, then no change
Your rank was 19059 but you were expected to have higher rank.
Good luck next round
Thank you. You mean to tell i shld have solved few more problems.
Hi everyone,
I have attended this contest and solved 5 question but it shows me unrated for some reason, I am pretty new to codeforces (I have given like 5-6 contest 2-3 years ago), can anyone help me understanding why I am unrated for it even though my rating is <1400
FIRE IN THE HOLE!
What does that mean?
https://www.urbandictionary.com/define.php?term=testuwuer&defid=18369015
please use this
Guys, its me.
too late :weary:
I did not release my code snippet to anyone, I might have used ideone.com but I have not shared the code snippets nor they have shared me their code snippets.