whats the corner case?
What is the corner case?
hello @Manvik-Arya-4391661007540658
there us no corner case .
just make sure u r using long long in place of int (to avoid overflow).
and also make sure that u r taking mod correclty.
if still ur program fails then pls share ur code with me