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_19769960_13155.cpp: In function 'int main()':
0_0_19769960_13155.cpp:4:19: error: expected unqualified-id before 'enum'
  int n,i,j,anum=0,enum=0,inum=0,onum=0,unum=0;
                   ^
0_0_19769960_13155.cpp:18:7: error: expected primary-expression before 'enum'
       enum=0;
       ^
0_0_19769960_13155.cpp:19:4: error: 'else' without a previous 'if'
    else if(a[j]=='e')
    ^
0_0_19769960_13155.cpp:21:4: error: expected primary-expression before 'enum'
    enum++;
    ^
0_0_19769960_13155.cpp:22:20: error: 'bnum' was not declared in this scope
    printf("e:%d\n",bnum);
                    ^
0_0_19769960_13155.cpp:24:7: error: 'inum' was not declared in this scope
       inum=0;
       ^
0_0_19769960_13155.cpp:25:4: error: 'else' without a previous 'if'
    else if(a[j]=='i')
    ^
0_0_19769960_13155.cpp:30:7: error: 'onum' was not declared in this scope
       onum=0;
       ^
0_0_19769960_13155.cpp:31:4: error: 'else' without a previous 'if'
    else if(a[j]=='o')
    ^
0_0_19769960_13155.cpp:36:7: error: 'unum' was not declared in this scope
       unum=0;
       ^
0_0_19769960_13155.cpp:37:4: error: 'else' without a previous 'if'
    else if(a[j]=='u')
    ^


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-07-08 00:55:55, Gzip enabled