[Question] Dart

Title description Xiao Ming likes to play darts, and he will record each score in an array. Today there is a dart grand prize. The rules for winning the prize are: if you score 4 darts in sequence