79627640

Date: 2025-05-18 16:50:14
Score: 0.5
Natty:
Report link

As it is mentioned in comment you are going through another array. a[4:] - it is sliced copy.
Just use ordinary loop:

for i:=4; i < len(a); i++ {
    var v=a[i]
    fmt.Printf("[idx=%d val=%d] ", i, v)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey Soltanov