Why this code not passing test cases

#include
using namespace std;
int main() {
int n;
cin>>n;
int r;
while(n>0){
r=n%10;
n=n/10;
cout<<r;
}

return 0;

}

Hi… it is passing all test cases…

No sir I can’t take ss although i will send you


it is passing all

sir I mail you ss via email please check

what are u taking man… try submitting the soln… it is passing all test cases…

ok thank you for clearing doubt

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.