79231378

Date: 2024-11-27 17:56:26
Score: 1.5
Natty:
Report link
if (tea < 5 || candy < 5)
    return 0;
  if ((tea >= 2 * candy) || (candy >= 2 * tea))
    return 2;
  else
    return 1;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nikky Kothapalli