Hello Codeforces!
I would like to invite you to take part in HackerEarth's May Easy '23! It will be held on Saturday, May 6, 2023 at 9:30 AM IST.
The problems were written and tested by me (Dhanraj coderdhanraj Chaurasia), Pawankumar EulerTour Nandagiri, Devanshul SilverWing05 Saraswat, Akshit strange14 Garg, Rohit rohit_768_ Pradhan and Suchit Atlas K.
Also, many thanks to Ujjwal ujjwald7 Dwivedi for coordinating the contest.
You will be given 6 algorithmic problems to solve in 3 hours. Partial scoring will be used (i.e. you get points for passing each test case).
Although the contest is targeted toward beginners, we hope that everyone finds the tasks interesting. The contest is rated for all and the prizes will be awarded to the top 3 beginners (i.e. participants with a rating less than 1600 before the challenge starts):
- First place: $75 Amazon gift card.
- Second place: $50 Amazon gift card.
- Third place: $25 Amazon gift card.
UPD: The contest is now rescheduled to Saturday, May 13, 2023 at 11:30 AM IST. You can register for the contest here.
UPD2: Hackerearth May DSA '23 will be held on Saturday, May 13, 2023 at 09:30 AM IST.
Good luck everyone, and feel free to discuss the problems here when the contest ends.
Problems aren't visible on the problem's section.
Well, what could u expect from hackerearth
After misleading sample, incorrect verdict and wrong solution, today we unlock new surprise in HE — invisible problems!
I don't know why they are not visible I have pinged ujjwald7 to resolve that issue.
I guess at this point it will be better to reschedule the contest with notice as many participants have left and many others will not wait for a long time as well.
Agree with your point, I will request to cordinators to reschedule the contest. Sorry for any inconvenience!
coderdhanraj,The problem statements are not visible to anyone I guess.
Ok, I got it. Previously they hid leaderboard and we complained. Now, they returned back it but hid problems. Why everything cannot be visible and working at once?
Problems not visible for upsolving
Contest didn't happen. Most likely, it will be replayed.
ohk thanks for the info
Hi everyone,
Easy has been rescheduled to this Saturday along with DSA. Looking forward to see you all there! DSA Coding Contest, May Easy (Rescheduled)
Both contests on the same day one after the other .. Schedule could have been better
Reminder!
How to solve kth prime sum?
Binary search, use digit DP for the checker.
nice
digit dp — $$$dp[i][j][k]$$$ stores the number of integers with $$$i$$$ digits whose sum is $$$j$$$ and last digit is $$$k$$$.
then you binary search.
You can read the editorial.
PS: I was the author for Kth Prime Sum :)
For the question Edge Letters,
My code gave runtime error.
I just changed the size of the suffix array from $$$10^5$$$ to $$$10^6$$$, and it got accepted.
Can anyone please tell what could be the issue?
It seems the constraints are wrong. My AC code is giving Runtime error if I check the size of the string using asserts.
OK Sir
Thank You!