KTH ROOT - How to accomodate the constraints

Please help. I don’t know how to accomodate the input constraints. 1<=N<=10^15

hey @Bumblebee, make datatype of input variable from int to long long int.

Thanks for the explanantion.

hey @Bumblebee , if your query is resolved. Please mark this doubt as resolved and rate me on the basis of your experience.
rating option will appear when to mark this doubt as resolved