ROSECODE 481
Prüfer Code II
For definitions See problem 480
The file rc481.txt contains 1000 Prüfer codes.
Which code produces the labeled tree whose string representation is the largest in lexicographic order?
Answer format: the string representation corresponding to that code.
Example:
This is the string representation for the 1st record of the file
[My timing: instant]
The file rc481.txt contains 1000 Prüfer codes.
Which code produces the labeled tree whose string representation is the largest in lexicographic order?
Answer format: the string representation corresponding to that code.
Example:
This is the string representation for the 1st record of the file
[My timing: instant]