TEST CASE Not passing


This is the code I wrote for the Armstrong number problem, the code passes for all test cases but one ie 401.
I’ve downloaded the test cases and verified the output it seems to be correct but when I submit it, it still shows wrong answer.
Please help.

I have edited your code, There was error in line no, 21,
arm=arm+pow(rem,3);
You can try to submit your code now, I have made the changes…

Since you arent replying anything, I am marking this doubt as resolved… You can reopen it if u still face any issues…