[Solved] Codechef : Correct approach or not?


My friend your approach is absolutely right , Only check your datatype to print answer .
Your answer may come >10000000000 for any test case . check it, Its open forum , So I won’t mention by pointing.

3

solved Codechef : Correct approach or not?