You are viewing a single comment's thread. Return to all 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
Seems like cookies are disabled on this browser, please enable them to open this website
Candy Collection
You are viewing a single comment's thread. Return to all 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
} whats wrong