0

I have never seen this error mesage and why its initiated

I am solving this hackerrank problem and my code just wont run, but i wannna know if my logic is right that'll do it but also might wanna know whats wrong.Thank you. problem link : //https://www.hackerrank.com/challenges/best-divisor/problem?isFullScreen=true code: https://www.sololearn.com/compiler-playground/cmXqo26ybzZb

21st Oct 2022, 5:18 PM
ANIK
ANIK - avatar
1 ответ
0
Your both while loop have some flaws.. Recheck those.. The one in main is infinite loop. The one in function is reset sum each time..
21st Oct 2022, 6:46 PM
Jayakrishna 🇮🇳