URI 1678

  • Ad-Hoc
  • |
  • Level 10
  • |
  • + 10.4 POINTS

CHECKING: The input can be modified to better suit all test cases. All submissions to this problem can be re-judged.



Code your solution and submit!