Skip to content
RED SAG Skills
medium10 pts · first answer countsarraysprefix-sumsoverflow

Prefix sums overflowing int

In Java you store prefix sums of 10 lakh order amounts in paise, each up to ₹50,000, in an int[]. What goes wrong?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions