Candy Collection

  • + 0 comments

    int main() { int n,i,j,l=0,p=0,s=1,k=0; scanf("%d",&n); int a[n],b[n]; for(i=0;i

         l=l+b[i];
         printf("     %d",l);
     }
    printf("\n%d",l);
    
    return 0;
    

    } whats wrong