F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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
    }
    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-10-01 17:18:46, Gzip enabled