79249875

Date: 2024-12-04 04:24:29
Score: 2
Natty:
Report link

Let Xi>max0 in the first comparison, then your function updates max0 to Xi

Consequently, Xi is no longer greater than max0 in the second comparison and max1 does not get updated.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Stuart Bruff