林永吉的Algorithm库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
293 B

  1. [Test1]
  2. input=2,2,1
  3. output=1
  4. [Test2]
  5. input=1,1,2,5,6,2,6
  6. output=5
  7. [Test3]
  8. input=13,2147483647,19,0,13,0,19
  9. output=2147483647
  10. [Test4]
  11. input=2147483647,-2147483648,4,1,2147483647,1,4
  12. output=-2147483648
  13. [Test5]
  14. input=11,21,0,9,4,4,9,21,11
  15. output=0
  16. [Test6]
  17. input=-1,-2,-3,-4,-4,-3,-2,-1,0
  18. output=0