Блог пользователя bluefog

Автор bluefog, история, 7 лет назад, По-английски

Problem statement : http://mirror.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.

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор bluefog, история, 8 лет назад, По-английски

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

For problem : http://mirror.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

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится