swapnil07's blog

By swapnil07, history, 22 months ago, In English

Update: The contest has been shifted to 12th April 2023, 9 PM IST to stabilise the revamps to the platform architecture. Apologies for the inconveniences caused.

Update: The contest has been shifted to 4th February 2023, 9 PM IST (different problem set). We sincerely apologize for the inconvenience caused by the recent contest crash. We understand that many of our valued participants were affected by this issue and we deeply regret any frustration or disappointment this may have caused. Rest assured that we are taking all necessary steps to prevent such an incident from happening in the future and to ensure that all participants have a fair and enjoyable experience. Thank you for your understanding and patience.

Warm greetings,

Newton School cordially invites you to be a part of our CodeRush-X. The challenge will go live on 28th January 2023 at 9 PM IST. Do register for the contest and stand a chance to win cash prizes worth ₹1,000,000 and exciting goodies like AirPods 3rd Gen, Amazon Echo 4th Gen, boAt Airdopes 131, ergonomic keyboards, Newton School exclusive merchandise (T-shirts, notebooks, stickers, etc.)

Registration Link: CodeRush-X — we have already crossed 100,000 registrations.

You will be given 8 problems and 180 minutes to solve them. The contest will be rated for all! The initial problems are highly beginner friendly and the text and video editorials will be released post the coding contest.

The problems were written and tested by dnshgyl21, _deactivated_, Sawarnik, Xzirium, and _Enigma__. We would also like to thank pradumangoyal and gkapatia for co-ordinating the contest.

Contest Highlights

Prizes for top global participants

  • The first prize winner gets ₹100,000
  • Second Prize — ₹50,000
  • Third Prize — ₹25,000
  • Fourth Prize — ₹15,000
  • Fifth Prize — ₹10,000

Gift Vouchers

  • Gift Vouchers worth ₹500 for Top 500 coders.
  • Gift Vouchers worth ₹100 for coders ranked between 501 — 2000.
  • Gift vouchers worth ₹100 for coders ranked 2001 and above — random 1000 people solving at least 1 problem

Prizes for top Indian participants (if not in global top 5)

  • First Prize — ₹10,000 with trophy
  • Second Prize — ₹5,000 with trophy
  • Third Prize — ₹2,500 with trophy
  • Fourth Prize — ₹1,500 with trophy
  • Fifth Prize — ₹1,000 with trophy

Prizes for top 3 Indian girl participants (over and above all other prizes)

  • First Prize — ₹10,000 with trophy
  • Second Prize — ₹5,000 with trophy
  • Third Prize — ₹2,500 with trophy

Top 3 coders from Indian colleges with 100+ active participants

  • First Prize — ₹500
  • Second Prize — ₹200
  • Third Prize — ₹100

Goodies for top Indian Coders!

  • Top 2: AirPods 3rd Gen
  • Ranks 3-10: Amazon Echo 4th Gen
  • Rank 11-25: boAt Airdopes 131
  • Rank 26-100: Cool sipper
  • Fastest Indian solvers for every question: Ergonomic Keyboard

Top 100 Indian Participants: Exclusive Newton School T-shirts and goodies!

We hope you like the contest! Hope to see you all at the leaderboard! :)

  • Vote: I like it
  • -24
  • Vote: I do not like it

| Write comment?
»
22 months ago, # |
  Vote: I like it +12 Vote: I do not like it

I still haven't received prize money for the 5th place in Newton's Coding Challenge October 2022.

  • »
    »
    22 months ago, # ^ |
    Rev. 2   Vote: I like it +34 Vote: I do not like it

    Hey,
    Apologies, but the prizes have already been sent. We have re-sent them on your mail id.

    Thanks

    • »
      »
      »
      22 months ago, # ^ |
        Vote: I like it +3 Vote: I do not like it

      Ah, I didn't expect to receive it as a voucher. I got it.

      Thank you !

    • »
      »
      »
      22 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Please don't down vote his comment, it was my fault, I just misunderstood.

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

Auto comment: topic has been updated by swapnil07 (previous revision, new revision, compare).

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

Holy fcuk wow!

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +32 Vote: I do not like it

The interface isn't loading for me at all, am I the only one?

»
21 month(s) ago, # |
  Vote: I like it +6 Vote: I do not like it

Is site down?

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Website not loading!

»
21 month(s) ago, # |
  Vote: I like it +44 Vote: I do not like it

Website is dead-X

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +13 Vote: I do not like it

    Obviously it's unfair to continue this contest, so can you postpone the prizes?

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it +6 Vote: I do not like it

      Were some people able to see questions??

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +10 Vote: I do not like it

        Maybe yes, so I guess we must change the problemset.

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +16 Vote: I do not like it

        For a very brief instant I could see the list of problems (but not the statements), and A had 2 ACs.

        That's honestly quite impressive.

»
21 month(s) ago, # |
  Vote: I like it -8 Vote: I do not like it

WEBSITE SHOWING ERROR:(

»
21 month(s) ago, # |
  Vote: I like it +56 Vote: I do not like it

"100,000 registrations" moment

»
21 month(s) ago, # |
  Vote: I like it +20 Vote: I do not like it

Well, I registered. How to participate?

»
21 month(s) ago, # |
Rev. 2   Vote: I like it -7 Vote: I do not like it

upvote me if you cant see the queation, so that I could decrease my anxiety

»
21 month(s) ago, # |
  Vote: I like it +2 Vote: I do not like it

rip

»
21 month(s) ago, # |
  Vote: I like it -11 Vote: I do not like it

Create such a hype to show us how shitty their website....

  • »
    »
    21 month(s) ago, # ^ |
    Rev. 2   Vote: I like it +44 Vote: I do not like it

    A bit rude, generally the website is fine.

    • »
      »
      »
      21 month(s) ago, # ^ |
      Rev. 2   Vote: I like it -11 Vote: I do not like it

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it -11 Vote: I do not like it

      Agreed. But they looks like they bit more than they could chew.

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it -9 Vote: I do not like it

      Well, 'generally' every website is fine, only at the times when there is a high load, you can judge how shitty the website is.

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +21 Vote: I do not like it

        Problemsetting is hard work, it's not fair for problemsetters to have to see hateful comments just because of a technical issue. Every Newton contest that I've seen so far has not had such issues, it's just unfortunate.

        • »
          »
          »
          »
          »
          21 month(s) ago, # ^ |
            Vote: I like it -17 Vote: I do not like it

          hateful comments are for website developers, not problemsetters.

»
21 month(s) ago, # |
  Vote: I like it +21 Vote: I do not like it

cool sipper gone

»
21 month(s) ago, # |
  Vote: I like it +34 Vote: I do not like it

Error.. Site Crashed.

»
21 month(s) ago, # |
  Vote: I like it +18 Vote: I do not like it

should have allocated some funds for upgrading the server as well. :)

»
21 month(s) ago, # |
  Vote: I like it +61 Vote: I do not like it

CodeCrash :X

»
21 month(s) ago, # |
  Vote: I like it -33 Vote: I do not like it

CodeTrash:X

»
21 month(s) ago, # |
  Vote: I like it +24 Vote: I do not like it

rip Coderush-X

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

PLease postpone the contest!

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +18 Vote: I do not like it

Instead of prizes spend money on upgrading the servers.

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

swapnil07 is there any update do we have to wait , or will it be postponed to any other day ?

»
21 month(s) ago, # |
  Vote: I like it +23 Vote: I do not like it

Newton school should offer a cloud computing course to site developers.

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by swapnil07 (previous revision, new revision, compare).

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    How will you make sure that no one have seen the problems ?

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it +8 Vote: I do not like it

      Some have even submitted the solutions too for the first problem.

»
21 month(s) ago, # |
  Vote: I like it -9 Vote: I do not like it

I INVESTED MORE TIME IN MAKING A FAKE FEMALE ACC THAN SOFT DEVS OF NEWTON

»
21 month(s) ago, # |
  Vote: I like it +19 Vote: I do not like it

Bhookh lgi hai yaar! Nhi hona contest to bta do, atleast khaana hi kha lun. Otherwise, pta chala ki contest abhi hi hoga bs time thoda extend kar diye ho!!

»
21 month(s) ago, # |
  Vote: I like it +6 Vote: I do not like it

there are some successful submissions for 1st problem and i even can't open the problems! this is unfair

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

It clashes with cf contest tomorrow.

  • »
    »
    21 month(s) ago, # ^ |
    Rev. 2   Vote: I like it +21 Vote: I do not like it

    The "tomorrow" part is from yesterday actually, I believe they have just delayed the contest to 30 minutes after the original time (still today).

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    I think it's today only from 9:30 pm. Just half an hour delay.

»
21 month(s) ago, # |
  Vote: I like it +4 Vote: I do not like it

Finally the website loaded to show me this a text "something is not right". I already know that kuch naya batao

»
21 month(s) ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

Questions are visible now, but start time is 9 30

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +1 Vote: I do not like it

Update: The issues in the contest will be resolved by 9:30PM IST, please bear with us. The contest time end time will be extended to 12:30AM IST.

What about accepted submissions?

Screenshot-from-2023-01-28-21-17-50

»
21 month(s) ago, # |
  Vote: I like it +3 Vote: I do not like it

is it started or not ? as it is not for me

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Error again? :(

»
21 month(s) ago, # |
  Vote: I like it +12 Vote: I do not like it

again not working :(

»
21 month(s) ago, # |
  Vote: I like it +18 Vote: I do not like it

Pls postpone it, It is surely an uneven competition now.

»
21 month(s) ago, # |
  Vote: I like it +8 Vote: I do not like it

I am unable to run codes!! and i didn't got that extra 30 minutes

»
21 month(s) ago, # |
  Vote: I like it +9 Vote: I do not like it

Can the authors arrange a pdf of the questions meanwhile?

»
21 month(s) ago, # |
  Vote: I like it +15 Vote: I do not like it

I can't find whether I could submit my code or not...

At least can you make this round unrated?

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I can't find whether I could submit my code or not...

    Same here :(

»
21 month(s) ago, # |
  Vote: I like it +8 Vote: I do not like it

Postponing to either tomorrow or next week is the only option left. Resuming the contest will be extremely unfair to those who could not even open a problem.

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +9 Vote: I do not like it

Questions were visible to some so now they will get a head start. Even if you postpone it to any other date, if the problems are same this would not be a even contest as some of them might have seen harder problems also.

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    That means whole problemset goes to the dustbin?

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Might be used as problemset for practice but I don't think it should be fair to use these problems in a rated contest.

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    There is no going back now. :\

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by swapnil07 (previous revision, new revision, compare).

»
21 month(s) ago, # |
  Vote: I like it +10 Vote: I do not like it

unrated?

»
21 month(s) ago, # |
  Vote: I like it +10 Vote: I do not like it

are you guys able to see the questions ????

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    I could see the first 3 questions, but I can't open the whole problems now.

»
21 month(s) ago, # |
  Vote: I like it +4 Vote: I do not like it

Ig the prizes would be well spent on making a proper functional website

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +21 Vote: I do not like it

    Also very few people care about the unrated, can you please mention whether the round is unprized?

»
21 month(s) ago, # |
  Vote: I like it +31 Vote: I do not like it

Isn't there any alternative way to distribute problem statements?

»
21 month(s) ago, # |
  Vote: I like it +3 Vote: I do not like it

Did they change time to tomorrow?

»
21 month(s) ago, # |
  Vote: I like it +17 Vote: I do not like it

Complete waste of time.

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +14 Vote: I do not like it

Cursed_registrations

»
21 month(s) ago, # |
  Vote: I like it +27 Vote: I do not like it

Is it prized?

»
21 month(s) ago, # |
  Vote: I like it +28 Vote: I do not like it

My mail got spammed, calendar booked, and got automated call lmao for this 🤡 💀 💀

  • »
    »
    21 month(s) ago, # ^ |
    Rev. 2   Vote: I like it +24 Vote: I do not like it

    These people send mails and bold the title and first line, something of that sorts, that is so spammy, just write a normal mail ffs

»
21 month(s) ago, # |
  Vote: I like it +19 Vote: I do not like it

gone again -_-

»
21 month(s) ago, # |
  Vote: I like it +8 Vote: I do not like it

Upload problem set pdf here :(

  • »
    »
    21 month(s) ago, # ^ |
    Rev. 3   Vote: I like it 0 Vote: I do not like it

    they should conduct contest here, as all the discussion are going on cf.

»
21 month(s) ago, # |
  Vote: I like it +8 Vote: I do not like it

Is it Prized?

»
21 month(s) ago, # |
  Vote: I like it +12 Vote: I do not like it

If they would've sent just one more mail at 9pm with the problem statements all of us would have got them at the same time :/

  • »
    »
    21 month(s) ago, # ^ |
    Rev. 2   Vote: I like it +30 Vote: I do not like it

    2nd problem

    Problem Statement Consider the integer sequence A = {1, 2, 3, ...., N} i.e. the first N natural numbers in order.

    You are now given two integers, L and S. Determine whether there exists a subarray with length L and sum S after removing at most one element from A.

    A subarray of an array is a non-empty sequence obtained by removing zero or more elements from the front of the array, and zero or more elements from the back of the array. Input The first line contains a single integer T, the number of test cases. T lines follow. Each line describes a single test case and contains three integers: N, L, and S.

    0<N,L<1e9 S<1e18

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    but they will spam your mailbox now onwards with new courses.

»
21 month(s) ago, # |
  Vote: I like it +13 Vote: I do not like it

Has the contest been postponed? Its not clear in the blog (not sure if the update was a previous one)

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    It's not postponed but unrated.

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it +12 Vote: I do not like it

      I doubt anyone was giving this contest for rating.

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +3 Vote: I do not like it

        Sad can't even win those prizes now.

        • »
          »
          »
          »
          »
          21 month(s) ago, # ^ |
            Vote: I like it +11 Vote: I do not like it

          When you cancel your non-existent weekend plans for Rs500 and a COOL sipper and can't even win that :(

          • »
            »
            »
            »
            »
            »
            21 month(s) ago, # ^ |
              Vote: I like it +3 Vote: I do not like it

            sir you forget the newton school tshirt.

            • »
              »
              »
              »
              »
              »
              »
              21 month(s) ago, # ^ |
                Vote: I like it 0 Vote: I do not like it

              Ahhh yes, the fit of previous one wasn't that great for me, so I kinda ignored it.

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +15 Vote: I do not like it

        Noooo, newton coding challenger rating very valuable, only site I am red on :)

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +13 Vote: I do not like it

        Wait, this website have ratings..??

»
21 month(s) ago, # |
  Vote: I like it +84 Vote: I do not like it
Meme
  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +20 Vote: I do not like it

    I just find it ironic that they're in the business of training devs.

»
21 month(s) ago, # |
  Vote: I like it +10 Vote: I do not like it

The site working very slowly, but too unfair to continue this contest...

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +10 Vote: I do not like it

    It's not even opening for me.

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Don't reload and wait patiently, then the page will work. (but of course not finely)

»
21 month(s) ago, # |
  Vote: I like it +5 Vote: I do not like it

Successfully wasted 1 hr...

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +42 Vote: I do not like it

    Successfully wasted 8 new problems...

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

swapnil07 please share the problemset pdf if possible as we are now sitting idle refreshing the page just to see the problem.

»
21 month(s) ago, # |
  Vote: I like it +10 Vote: I do not like it

only tab opening is Refer a Friend

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Does their checker tell the verdict on submitting any code? The server goes down every time I make some submission, not sure if it passed the test cases or not!

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by swapnil07 (previous revision, new revision, compare).

»
21 month(s) ago, # |
  Vote: I like it -10 Vote: I do not like it

Bro already 200 people wrote B and 32 wrote C.SO FAIR

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Well let's visit errichto then. :|

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Coderush is now dead not live

»
21 month(s) ago, # |
  Vote: I like it +22 Vote: I do not like it

I can watch the statements now, so ofcourse the problemset will change in the new contest?

»
21 month(s) ago, # |
  Vote: I like it +3 Vote: I do not like it

waiting for this website to open 👴 👴 👴

»
21 month(s) ago, # |
  Vote: I like it -10 Vote: I do not like it

Can you leave the current contest? I want to solve them just for fun.

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Now, it is unprized na?

»
21 month(s) ago, # |
  Vote: I like it +4 Vote: I do not like it

waited and tried for almost 1.5 hour, now postponed :(

»
21 month(s) ago, # |
  Vote: I like it +30 Vote: I do not like it

I postponed my travel plans from this weekend to next, just for this contest. And now it's postponed to next week :(

»
21 month(s) ago, # |
  Vote: I like it +3 Vote: I do not like it

Was hoping to get that COOL sipper. Now fair!

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Can anyone who solved question C(Connected coloring), tell their approach for the same?

  • »
    »
    21 month(s) ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    $$$2, 12, 30, 56, 90 ...$$$ sequence
    $$$f(x) = (2x - 1) * 2x$$$

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Can you explain how we are getting this formula?

»
21 month(s) ago, # |
Rev. 3   Vote: I like it +5 Vote: I do not like it

Why can't we submit problem now?? Please allow submission in practice mode!!!Just debugged heavy code of 5th & can't test it ;(

Btw really nice problems, kudos to problem setters!

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

what is the logic required to solve B?

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Logic is any S will work as long as it is between sum of first L numbers and sum of last L numbers of {1,2,....,N}

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

Hi, swapnil07! Is it now postponed to 12th April?

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

waiting till now ;)

»
16 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Accordingly to the latest postponement (not announced here) the contest should take place today in less then an hour and it doesn't look like it will. Do you still plan to host it at all, swapnil07?

»
15 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Did this contest even happen lol?