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_33202686_13487.c:3:4: error: expected identifier or '(' before '&' token
 int main()
    ^
0_0_33202686_13487.c: In function 'main':
0_0_33202686_13487.c:7:4: error: expected identifier or '(' before '&' token
 int a,s,i;
    ^
0_0_33202686_13487.c:7:10: error: 'a' undeclared (first use in this function)
 int a,s,i;
          ^
0_0_33202686_13487.c:7:10: note: each undeclared identifier is reported only once for each function it appears in
0_0_33202686_13487.c:7:12: error: 's' undeclared (first use in this function)
 int a,s,i;
            ^
0_0_33202686_13487.c:7:14: error: 'i' undeclared (first use in this function)
 int a,s,i;
              ^
0_0_33202686_13487.c:9:5: error: expected identifier or '(' before '&' token
 char z;
     ^
0_0_33202686_13487.c:9:11: error: 'z' undeclared (first use in this function)
 char z;
           ^
0_0_33202686_13487.c:11:2: error: 'nbsp' undeclared (first use in this function)
  while(scanf("%d",&a)!=EOF)
  ^
0_0_33202686_13487.c:19:8: error: expected expression before '=' token
 z = getchar(); 
        ^
0_0_33202686_13487.c:26:31: error: 'else' without a previous 'if'
      else if(z>='A'&&z<='Z')
                               ^


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-02 08:22:03, Gzip enabled