QOJ.ac

QOJ

Time Limit: 4 s Memory Limit: 512 MB Total points: 100

# 4207. Uplifting Excursion

Statistics
  • Subtask 3, 4 = Subtask 3 in the statement
  • Subtask 5, 6 = Subtask 4 in the statement
  • Subtask 7, 8 = Subtask 5 in the statement
  • Subtask 9, 10 = Subtask 6 in the statement