
Example 1:
Input: [1, 0, 0, 1, 0]
Output: 0
Explanation:
If you answer 0 questions (k = 0) your_result = 0 and your friend_result = -1 (2 correct answers and 3 wrong answers).Example 2:
Input: [1, 0, 0, 1, 1]
Output: 1Example 3:
Input: [1, 1, 1, 0, 1]
Output: 2