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_35012401_20000.c: In function 'main':
0_0_35012401_20000.c:4:16: error: array size missing in 'd'
     char a,b,c,d[],i=0,x=0,y;
                ^
0_0_35012401_20000.c:7:10: error: subscripted value is neither array nor pointer nor vector
         a[i]=a;a[++i]=b;a[++i]=c;
          ^
0_0_35012401_20000.c:7:17: error: subscripted value is neither array nor pointer nor vector
         a[i]=a;a[++i]=b;a[++i]=c;
                 ^
0_0_35012401_20000.c:7:26: error: subscripted value is neither array nor pointer nor vector
         a[i]=a;a[++i]=b;a[++i]=c;
                          ^
0_0_35012401_20000.c:13:30: error: subscripted value is neither array nor pointer nor vector
         printf("%c %c %c\n",a[i],a[i+1]a[i+2])
                              ^
0_0_35012401_20000.c:13:35: error: subscripted value is neither array nor pointer nor vector
         printf("%c %c %c\n",a[i],a[i+1]a[i+2])
                                   ^
0_0_35012401_20000.c:13:40: error: expected ')' before 'a'
         printf("%c %c %c\n",a[i],a[i+1]a[i+2])
                                        ^
0_0_35012401_20000.c:14:5: 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-11-30 08:44:55, Gzip enabled