Need help for understanding problem statement #430 Div2 E

Revision en1, by bluefog, 2017-09-03 01:16:54

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English bluefog 2017-09-03 01:16:54 551 Initial revision (published)