+ 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
2 Respostas
+ 5
Correct this.
In for loop
int i = word_length-1
Because highest index of string is (length_of_string - 1)
+ 1
Thanks a lot!