Norp's blog

By Norp, history, 9 months ago, In English

Hello Codeforces!!!

Today I tried to do as much as possible so as not to fail Div.4. Solved several easy, several difficult problems, wrote 2 virtual past Div.4. But what pleased me most was today's Div.4. I solved 4 problems on the first try without difficulty, I really hope that after this round, even if I don’t become a pupil, I will at least get closer to it. I also practiced number theory today, which helped me a lot in the contest. I can't wait to see the results of the contest.

Plans for tomorrow:

Solve E from today's Div.4, and the remaining plans from yesterday.

Till Tomorrow!

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

»
9 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Why do you upload solutions during the contest....Please refrain from doing that I was searching for cheaters after the contest and found you uploading solns on your channel CODE WITH NORP and your profile opened.

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

I'm sorry.....

»
9 months ago, # |
  Vote: I like it +1 Vote: I do not like it

I also solved the first 4 easly!

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

    4th was not as easy.

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

      well.... If u were ready (and solved 100 problems from problemset due to stress of low ratings), it is easy

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

Why problem E I just made a small mistake and that leads to an end of my dream ToT After contest I just changed some lines and it's correct lol

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

    I had a same thing happen to me. I wrote a solution for E, it didn't pass, i stared at the code for 30 minutes, rewrote the idea in the exact same logic and it worked. i lost so much time to that :sob:

»
9 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Congrats with good performance, but be careful about solutions leak.

E is almost like D, I think you can do it, just find possible lengths of k and then bruteforce.

Btw, do you read solutions by others (like jiangly/tourist/ksun48/..) after solving by yourself? I highly recommend doing that at least to enjoy beautiful and clean code.

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

    By the way, do you think my solution for D will pass system testing?

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

      if people used your code, then no.

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

        It was worstest mistake......

    • »
      »
      »
      9 months ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      It's quite hard to read with multiple operations packed into one line, that's why I recommended reading good examples :)

      Also there are some possibilities for subtle errors, for example, GMs never compare int i with sqrt(a), instead they compare i*i with a to avoid possible rounding errors.

      Maybe your solution is prone to TLE with 50k of 83160 (or 87846), since you always recalculate everything on every launch. Otherwise probably it should pass. But I wouldn't take such risks and do like this.

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

        As a result, the AC without any problems, on top of everything else, this round brought me to level 1100, a new record

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

          Nice, but don't make a habit of implementing solutions 15 times slower than necessary (and more code at the same time), time limits are not always so generous

»
9 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Hey Norp, what resource/questions did you use for practicing number theory. Checked out your youtube channel, you just gained a subscriber, yayyy

»
9 months ago, # |
  Vote: I like it +1 Vote: I do not like it

I wish you good luck and don't give up no matter what. <3

»
9 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Others have already said, but make sure to upload your solutions to round AFTER the round ends, or someone might use it to cheat.

»
9 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Bro, you submit too many 800 problems, I think you should practice on 1200-1400 problems and then you will definitely become a pupil!