[ad_1]
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
[ad_2]
solved Codechef : Correct approach or not?