+ 1

Extra-Terrestial in C++ problem

So i wrote a code for Extra-Terrestial problem in C++, it's working perfectly, but the grader didn't accept it. What's wrong with my code? Any help is appreciated! https://code.sololearn.com/cSa01MkZdZ0Z/?ref=app

20th Apr 2021, 4:33 AM
Satria Marshall
2 Respostas
+ 5
Correct this. In for loop int i = word_length-1 Because highest index of string is (length_of_string - 1)
20th Apr 2021, 4:40 AM
TOLUENE
TOLUENE - avatar
+ 1
Thanks a lot!
20th Apr 2021, 4:48 AM
Satria Marshall