URI 2352

  • Ad-Hoc
  • |
  • Level 5
  • |
  • + 5.0 POINTS
  • |
  • Base Time Limit: 3 second
  • |
  • Memory Limit: 200 MB

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!