In constructor of Pot, there's no validation of the input arrays (players and rewards).
Consider adding checks to ensure that the arrays have matching lengths.
From this code, the lengths of iplayers and i_rewards need to be same.
So need to add validation
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.