noomaK's blog

By noomaK, history, 17 months ago, In English

[problem:454092A]

Idea: I_Love_noomaK, prepared: noomaK

Tutorial
Solution
Rate the problem

[problem:454092B]

Idea: noomaK, prepared: noomaK

Tutorial
Solution
Rate the problem

[problem:454092C]

Idea: noomaK, prepared: noomaK

Tutorial
Solution
Rate the problem

[problem:454092D]

Idea: I_Love_noomaK, prepared: noomaK and I_Love_noomaK

Tutorial
Solution
Rate the problem

[problem:454092E]

Idea: noomaK, prepared: noomaK

Tutorial
Solution
Solution
Rate the problem

[problem:454092F]

Idea: noomaK, prepared: noomaK

Tutorial
Solution
Fun fact?
Rate the problem

[problem:454092G1]

Idea: noomaK, prepared: noomaK and yazan_istatiyeh

Tutorial
Solution
Rate the problem

[problem:454092G2]

Idea: noomaK, prepared: noomaK and yazan_istatiyeh

Tutorial
Solution
Rate the problem
  • Vote: I like it
  • +4
  • Vote: I do not like it

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

Nice problem F :)

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

    Thank you, I hope you enjoyed participating. Can you give feedback to other problems you solved?

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

what is error in my solution to G1 using binary search?

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

    It must be solved with dynamic programming , because it is not always the case that the maximum of the two values is the farthest node in dfs.

»
17 months ago, # |
  Vote: I like it +6 Vote: I do not like it

There are no words to describe how much G2 is an amazing problem and how much I admire it. Learned a lot of things today! Thank you very much for this contest.

»
17 months ago, # |
Rev. 2   Vote: I like it +6 Vote: I do not like it

Quick tutorial of G1 : To solve G1 you have to precalculate distances between any two nodes. Then you can binary search on the annoyance. To check if you can achieve the annoyance you can do a simple dynamic programming with three states , idx of the query , node where ahmad stands , node where monther stands. The transitions are based on the annoyance value; you can transition only if moving from node to another node is less than the annoyance value.

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

Is there any group of JPC Rounds? Where I can find the all contests of JPC.

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

can anyone explain me g1?

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

As after excellent first round, i am eagerly waiting for second round, but i unfortunately missed that.:(

But I have up solved these questions and found this contest above expectation.

Hoping for more such rounds,:)

Orz...

Some Reviews:

A — Nice but standard(but it's A, want else we expect)

B — Same review as A

C — Very Good, nice and unique logic and easy to implement

D — Nice bits question, very unique

E — Standard 2 pointer but idea of magnets is nice

F — Very good time complexity observation problem, firstly I am thinking in very deep, but then I observed time complexity.

G1 — Excellent DP question

G2 — Very good DP optimization of time complexity and space complexity(Although space optimization is pretty standard but time optimization is very unique and hard to observe)

That's all from me...Have a great community, and keep providing such questions:)