bluefog's blog

By bluefog, history, 7 years ago, In English

Problem statement : http://codeforces.com/contest/842/problem/E

How is the tree structure generated in the problem? (I am confused by the words "level" and "classes". Do they mean the same thing?)

Also, the input section describes "queries"? AFAICS, the queries contain the information to build the tree (submissions by other contestants). The sample test cases do not have any explanations, which makes is hard for me to understand the question.

Thank you for your time and attention.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By bluefog, history, 7 years ago, In English

Submission under review : http://codeforces.com/contest/767/submission/24809891

For problem : http://codeforces.com/contest/767/problem/C

Which cases am I missing? I tried to implement the two conditions as given in the tutorial but the submission fails for test 9 (which is a large one, i cannot debug by viewing the case).

Thank you for your time and attention

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it