Warm greetings,
Newton School cordially invites you to be a part of our monthly coding contest. The challenge will go live on 28th January 2022 at 9 PM IST. Also, do register for Newton's Grand Coding Contest 2022 and stand a chance to win prizes upto ₹1,000,000.
Registration Link: Newton's Coding Challenge
You will be given 6 problems and 150 minutes to solve them. The contest will be rated for all!
The problems were written and tested by _Enigma__, ShlokG, and iLLusio.
We would also like to thank gkapatia for co-ordinating the contest.
Highlights of contest:
- The Prize Money for the top 5 performers are as follows:
- First Prize: ₹10,000
- Second Prize: ₹5,000
- Third Prize: ₹2,500
- Fourth Prize: ₹1,500
- Fifth Prize: ₹1,000
- ₹100 Amazon gift vouchers to the top 50 participants.
- ₹100 Amazon gift vouchers to 50 randomly selected participants ranked between 51-500.
Note: Top 5 participants from other countries can opt to receive an Amazon Gift voucher in their respective currencies. All other gift vouchers will be sent in INR.
We hope you like the contest! Hope to see you all at the leaderboard! :)
Edit: The problems have been opened for practice and the editorials have been published.
Congratulations to the top participants:
- Gennady Korotkevich — tourist
- Ramazan Rakhmatullin — never_giveup
- Kalash Gupta — kal013
- Rahim Mammadli — Nots0fast
- Anay Karnik — AwakeAnay
Is there an editorial for the Newton's Coding Challenge December 2021 ? here is the announcement : https://mirror.codeforces.com/blog/entry/98437 But I can't find any editorial.
I got this message when I tried to register.
How long will it take for my college to be added? Are only graduates of those registered colleges allowed to participate?
It's almost instantaneous. Can you please check now?
It was added. Thanks!
What was the intended solution of K-star problem. I did some crap , looping over all nodes as roots. For each other, doing a BFS while keeping track of number of nodes in each root'child subtree, calculating via an k*(number of children of root) dp lmao.
Edit: And it passed.
Yes, that seems like the intended solution. There are not that many feasible centers.
Editorial
Got a WA(RTE) for problem C for submitting in Python3 instead of C++ lol!!
Please open problems for practice
I want to submit my solution for 4th problem.
Was stuck with some over calculation while travelling from parent to child.
Edit : Now problems are open for practice.
Is E mo's Algo + segment tree + binary search?
Auto comment: topic has been updated by swapnil07 (previous revision, new revision, compare).
how to collect rewards of grand coding challenge
Why are codes with
debug
template giving me WA? This is a really annoying thing, because I have to comment off them every time I submit and vice-versa.Does anybody know any quick work-around for this, please let me know!
Yeah, unfortunately if you are using
Then this wont work because the ONLINE_JUDGE is not set while compiling in their OJ.
So maybe make some LOCAL flag set while compiling in your system and change above code to this
Thanks for your answer, but I am using an online compiler, TIO. And, I don't know what
LOCAL
flag is set there. However,ONLINE_JUDGE
flag is not set, and that helps in debugging.i.e. add
-DLOCAL
in compiler flags optionWow, I didn't knew we set compiler flags like this. Thanks a ton, dude!