0_0_17346517_18323.c: In function 'main':
0_0_17346517_18323.c:12:22: error: subscripted value is neither array nor pointer nor vector
for(i=1;i<=N;i++) N[i]=0;
^
0_0_17346517_18323.c:18:9: error: subscripted value is neither array nor pointer nor vector
if(N[i]==0)j++;
^
0_0_17346517_18323.c:19:15: error: subscripted value is neither array nor pointer nor vector
if(j==K) N[i]=1,j=0,cnt++;
^
0_0_17346517_18323.c:26:4: error: expected ';' before '}' token
}
^
|