Tree Restoration

Time limit: 2 sec
Memory limit: 256 MB
Input/output: stdin / stdout
Maximum score: 1000
Translations:
EnglishItaliano
Uploaded on: 13 October 2025

Stats

  • Number of people who tried it: 10
  • Number of people who solved it: 9 (90%)
  • Submitted solutions: 18
  • Correct solutions: 11 (61%)

Fastest solutions