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: 20
  • Number of people who solved it: 19 (95%)
  • Submitted solutions: 36
  • Correct solutions: 27 (75%)

Fastest solutions