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_22247109_32549.cpp: In function 'int main()':
0_0_22247109_32549.cpp:23:18: error: expected '}' before 'else'
                  else if(string[i]==' ')
                  ^
0_0_22247109_32549.cpp:24:17: error: expected primary-expression before '}' token
                 }  
                 ^
0_0_22247109_32549.cpp:28:18: error: 'else' without a previous 'if'
                  else elsething=elsething+1;
                  ^
0_0_22247109_32549.cpp: At global scope:
0_0_22247109_32549.cpp:30:20: error: expected constructor, destructor, or type conversion before '(' token
              printf("大写%d个,小写%d个,数字%d个,空格%d个,其他%d?",caps,caps2,num,space,elsething);
                    ^
0_0_22247109_32549.cpp:31:15: error: expected unqualified-id before 'return'
               return 0;
               ^
0_0_22247109_32549.cpp:32:8: error: expected declaration 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-29 23:58:19, Gzip enabled