the program is running sucessfully .
it is given in constraint is 0<=n<=1000000000 i.e positive numbers only,but they are showing 1,2,3 testcases failed and total score 0.
they ere saying not working for negative numbers but the range is positive
Print reverse challenge
hi yutika
share your code
![word|250x500](upload://6RZxuYkiDRSleRxiaoRzZoTpj5i.png)
u have done 2 mistakes
just read the statement and check the given case u have to just cin the number and cout the reverse
u dont have to do cout<<“enter the number” and cout<<“the reverse is” like that
second
the number can be out of the interger range so use long long int instead of int
ALso write the using namespace std
after iostream it is not error in yout code but a basic type to write this after header files