Problem 576A — CF checker says: Wrong Answer cannot distinguish 1 and 727

Revision en2, by Nathan_McKane, 2020-12-12 18:51:09

Link to the Question: 576A

Link to my code: Code

I was trying this question on Number theory and faced this error "Wrong Answer cannot distinguish 1 and 727". I couldn't detect the reason for the incorrect output. My code runs fine and gives correct result for the same input (test case 16) on other platform's IDEs. Please help!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Nathan_McKane 2020-12-12 18:51:09 127
en1 English Nathan_McKane 2020-12-12 18:44:05 390 Initial revision (published)