0

Logically correct but still wont work

Why my right row doesnt work when won? everything is okay logically https://code.sololearn.com/W9A76a23A21A

1st Jul 2021, 6:36 PM
Opti mus
Opti mus - avatar
1 Antwort
+ 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
2nd Jul 2021, 3:37 AM
ODLNT
ODLNT - avatar