yunetive29's blog

By yunetive29, history, 3 hours ago, translation, In English

Thank you for participating! We hope you enjoyed our problems

Author and developer is yunetive29

2059A - Milya and Two Arrays

Solution
Implementation

2059B - Cost of the Array

Author and developer is yunetive29

Solution
Implementation

2059C - Customer Service

Author and developer is yunetive29

Solution
Implementation

2059D - Graph and Graph

Author and developer is yunetive29

Solution
Implementation

2059E1 - Stop Gaming (Easy Version)

Author shfs and developer is yunetive29

Hint 1
Hint 2
Hint 3
Solution
Implementation

2059E2 - Stop Gaming (Hard Version)

Author shfs and developer is yunetive29

Solution
Implementation
  • Vote: I like it
  • +35
  • Vote: I do not like it

»
2 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

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

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

Wait your released the editorial with code 30 minutes before round ended? That's absurd!?

EDIT: My apologies. I had a gap in my knowledge.

  • »
    »
    2 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    No, that was the time when he started drafting or copy pasted the draft into CF blog.

  • »
    »
    2 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    That's the time the post was created, not posted

»
2 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Skill Issue. I only solved AD lmao

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

    creative issue? Codeforces usually have some creative problem.

    First time i joined Codeforces also struggled with these "creative problem"s

    • »
      »
      »
      64 minutes ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      If you mean that I'm creative to solve AD then no because D is standard asf

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

        I mean B,C require some creativity or just familiarity with codeforces problem.

        Yeah D is standard, just scary at first read.

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

        Hey can you tell me how is it standard?

        Are there any similar problems or blogs on this approach?

        • »
          »
          »
          »
          »
          34 minutes ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          Cause it uses djikstra algorithm as the main solution.

          • »
            »
            »
            »
            »
            »
            17 minutes ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            Just because a solution uses an algorithm doesn't mean the problem is standard. With that said problem D is pretty standard.

        • »
          »
          »
          »
          »
          6 minutes ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          I am not sure but I mean it's just a no brainer I guess I can't use the right words

    • »
      »
      »
      43 minutes ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Any suggestions on how to solve or atleast approach those creative problems?

      • »
        »
        »
        »
        36 minutes ago, # ^ |
        Rev. 2   Vote: I like it 0 Vote: I do not like it
        1. Try solving easier cases first, usually starts with n=1 after you're comfortable then generalize the solution. If you check my submission you can see how i worked from easier case, though it's not a beautiful submission. 304090629

        2. Try learning some quirks of certain problem, like "n is even", bitwise XOR/AND/OR, MEX. They usually share some similarity in approach.

        3. Practice alot of codeforces problem, if you plan to stay.

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

          Thanks for your suggestions. I cannot understand your quirks point. Do you mean to say that if "n is even", then we can use bitwise XOR/AND/OR, MEX somehow or anything else?

          • »
            »
            »
            »
            »
            »
            26 minutes ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            no, many of the creative problem usually have some constraint that may contain hint to solving it.

            if n is even:

            usually i try to divide the array into 2 parts

            or maybe in different question, divide the array into n/2 2-sized sub-array

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

    Spend 1 hours to find a case of ans 3 in B :(

  • »
    »
    23 minutes ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    how did you manage to go from 2100 to 1600! concerning.. any advice?

    • »
      »
      »
      6 minutes ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I used to cheat and I can't anymore

»
93 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

I personally felt problem B and C were nice! (even though problem B ruined my contest lol) Simple ideas, yet tricky!

»
88 minutes ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

304115975,304141983,304098763 Can someone hack them

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

I am quite shocked how my B passed the system tests. I was checking for min max in a range but forgot to sort the vector d. I realised this mid contest and was pretty sure it would fail the system tests because I myself can think of countless test cases to hack it. Or is it because of some mathematical property I am missing? Could someone explain?

»
69 minutes ago, # |
  Vote: I like it +5 Vote: I do not like it

Is it just me or B is unexpectedly hard today?

»
68 minutes ago, # |
  Vote: I like it +3 Vote: I do not like it

good contest , bad contest

  • »
    »
    56 minutes ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Why do people think it was a bad contest? Because D was GPT-able? That is not the problemsetters' fault...

    • »
      »
      »
      53 minutes ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Why do you think it was a good contest? because you performed well?

      • »
        »
        »
        »
        47 minutes ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        I didn't perform well. A was acceptable, B was also acceptable, C was good, and D was a bit standard but I enjoyed arriving at the conclusion. E1 was solved by a hundred people and E2 was unsolvable for Div. 2. What exactly is bad about this round?

    • »
      »
      »
      52 minutes ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I think it's because b is harder than c to many people.

      And also too few question? (makes my hand sweaty)

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

Was stuck in reading B for a long time, Couldnt understand what

""such that each element of the array a belongs to exactly one subarray.""

meant Back to Pupil :(

»
57 minutes ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it

my E1 Solution is much simpler than Tutorial : 304156702

just track the numbers you must push in next array by using queue

  • »
    »
    44 minutes ago, # ^ |
      Vote: I like it +2 Vote: I do not like it

    I like your template.

    Unlike some other template that has 1000 lines just for unused code.

    Also smart solution.

»
45 minutes ago, # |
  Vote: I like it +1 Vote: I do not like it

For B, I spent 1hour to find a case of which the ans is 3 to hack my wa submisson then I reallized it's impossible :( (I have no enough time to finish C)

»
39 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

Just found out my mistake in E1 :(

»
34 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

I wanna become an expert. I have come close quite a few times but missed the mark by inches. Please suggest some resources so that I'll be able to do Codeforces Div 2 Problem D in upcoming contests.

Thanks in advance!!