In below code the length of the array length is read each time in the loop causing unnesary gas consumption (SLOADs)
Likelihood:
This will occur each time loop runs.
Impact:
Unnecesary gas consumption
Gas optimizations are invalid according to the CodeHawks documentation.
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.