Sherlock and Array

  • + 0 comments

    try like this lc += (i==0) ? 0 : a[i-1];