0
Extra-Terrestrials
I solved the problem, but it still won't count
8 Respostas
+ 5
https://code.sololearn.com/cJ37klL34T1U/?ref=app
Your's too work....
But lil modification needed ..in for loop it should be "tab.size()-1"....
Look at this code...
+ 5
Hailrake ,
Where is your attempt??
Post it here....
+ 5
https://code.sololearn.com/c8C8VOuRPvQD/?ref=app
You can use reverse function to make it easier....
Try this....
And don't post the code like this...
write your code in code playground and post that Link in the description tag....as like I done here...
+ 2
thank you
0
#include <iostream>
#include <cstring>
int main() {
std::string tab = "";
std::cin>>tab;
std::string newstr = "";
for(int i=tab.size();i>=0;i--)
{
newstr += tab[i];
}
std::cout << newstr;
return 0;
}
0
im on mobile phone
0
but why mine aint working? i tried to remove null symbol
0
this problem is cursed