Why is my solution not working..I calculated the common diff and checked for which elements the AP is not followed. Someone plz help
Code
Round 946 Div 3 Solution Discussion (with myself)