Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Logically correct but still wont work
Why my right row doesnt work when won? everything is okay logically https://code.sololearn.com/W9A76a23A21A
1 Odpowiedź
+ 1
Inside of the check function the variable temp will not reset to 0 when the last element of the sub array is included in the n array
Run code below to get an idea of what am trying say then uncomment the else statement at line 161 to see the difference.
https://code.sololearn.com/WiLH21WoVjFz/?ref=app