Your code didn't passed the "Sample Input 0". It returned 3, where 4 was expected. I have modified your code, and it works for all input ...
確定! 回上一頁