passes the sample test case but fails on submission.
Exchanging_coins
hello @swatiguptasg,
dont check whether n is divisible by 2,3 or 4.
if it is not divisible then take their floor value.
it is still giving wrong output for one test case.
your function return type should be long long
1 Like
oh I missed that. Thank u