79195452

Date: 2024-11-16 15:30:05
Score: 2.5
Natty:
Report link

The code runs in O(1) time, and rep bsf is not a loop, it is a single instruction that runs in a fixed amount of time. The compiler chose this implementation because there is no std::countr_zero counterpart on x86, so bsf is used to get the first bit set

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