Solution 1: , where and it is perfectly divisible by 101. Solution 2: , which is another multiple of 101. Sample Input 1. 5 55 3 45 33 25. Sample Output 1.
確定! 回上一頁