We invite you to participate in CodeChef’s May Lunchtime, this Sunday, 15th May, rated for all.
Time: 8:00 PM — 11:00 PM IST
Joining me on the problem setting panel are:
Setters: Mradul bhatnagar.mradul Bhatnagar, Manuj DarkSparkle Nanthan, Nishank IceKnight1093 Suresh, Valerio TheScrasse Stancanelli, Dan DannyBoy, Hazem zoooma13 Tarek, Hrishikesh hrishik85 Kelker, Yahor 244mhq Dubovik, Boris PuRpLe_FoReVeR Serenkov
Tester: Harris gamegame Leung
Head Admin: Alex Um_nik Danilyuk
Statement Verifier: Nishank IceKnight1093 Suresh
Contest Admins: Yahor 244mhq Dubovik, Anton antontrygubO_o Trygub
Editorialist: Đặng Đoàn Kuroni Đức Trung
Also, announcing Scholarship for CodeChef Certification in Data Structure & Algorithms — More than 100 Indian participants in Divisions 1, 2, and 3 will win scholarships for the CodeChef Certification exam (discounted prices). Scholarship criteria can be found on the respective contest pages.
The video editorials of the problems will be available on our YouTube channel as soon as the contest ends. Subscribe to get notifications about our new editorials.
Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here.
Hope to see you participating. Good Luck!
Reminder: Contest starts in 30 minutes.
Are the amazon gift vouchers still there?
Nope
When can we expect them to come back? They were a good incentive to practice.
They have been removed even for div 1?
What is the mathematical jugglery behind PWMUL?
https://discuss.codechef.com/t/pwmul-editorial/101134
anyone explain pls how to solve "Equal After And" task ?
Here it is Editorial.
s=A1&A2&A3&A4......&An
i dont understand why we need to make all element equal to s? any proof?
Let's say if array is partitioned into $$$k$$$ parts,where each part contribute to each number in the final array, and bitwise AND of each part is $$$a$$$ (values in the final array). Bitwise AND of the whole (original) array is basically the bitwise and of all $$$k$$$ final numbers, which is $$$a$$$($$$a$$$ & $$$a$$$ $$$=$$$ $$$a$$$). So that is why we have to make all elements equal to $$$s$$$.
got it thanks :D
Is there any particular reason that some submissions run faster in C++14 compared to C++17 on the judge ?