79523164

Date: 2025-03-20 13:58:47
Score: 3.5
Natty:
Report link

std::distance(result, v.rend()) does not yield the correct index. A minus 1 is missing. The correct index would be std::distance(result, v.rend()) - 1.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pete