Please check the code sir!

Sir Please check this code , one test case is failing and i guess it is of size issue , so what can i do in this code …

hello @piyushkumar999999
in which question u have doubt?
u have raised roubt in replace pi problem but the code that u have shared is of something else.

I have doubt in that question i have send it you sir , please help !!

ok got it , see follow this->

a) use long long in place of int

b) handle the case when input n is 0 seprately. in that case simply print 5 .
otherwise for other case ur code will work fine

Sir again missing that same test case , what to do now (https://ide.codingblocks.com/s/366289)

u havent changed the function return type.
make them long long as well