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_23567327_1666.cpp:4:7: error: expected nested-name-specifier before 'namespacestd'
 using namespacestd;
       ^
0_0_23567327_1666.cpp:5:1: error: 'chars' does not name a type
 chars[]={'a','e','i','o','u'};
 ^
0_0_23567327_1666.cpp:6:14: error: 'charx' was not declared in this scope
 bool is_yuan(charx)//判断字母是否是元音字母
              ^
0_0_23567327_1666.cpp:7:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_23567327_1666.cpp: In function 'int main()':
0_0_23567327_1666.cpp:22:32: error: 'is_yuan' cannot be used as a function
             if(is_yuan( pwd[i] ))
                                ^
0_0_23567327_1666.cpp:32:35: error: 'is_yuan' cannot be used as a function
                 if( is_yuan(pwd[i])&&is_yuan(pwd[i+1])&&is_yuan(pwd[i+2]))
                                   ^
0_0_23567327_1666.cpp:32:54: error: 'is_yuan' cannot be used as a function
                 if( is_yuan(pwd[i])&&is_yuan(pwd[i+1])&&is_yuan(pwd[i+2]))
                                                      ^
0_0_23567327_1666.cpp:32:73: error: 'is_yuan' cannot be used as a function
                 if( is_yuan(pwd[i])&&is_yuan(pwd[i+1])&&is_yuan(pwd[i+2]))
                                                                         ^
0_0_23567327_1666.cpp:37:41: error: 'is_yuan' cannot be used as a function
                 else if( !is_yuan(pwd[i])&& !is_yuan(pwd[i+1])&& !is_yuan(pwd[i+2]))
                                         ^
0_0_23567327_1666.cpp:37:62: error: 'is_yuan' cannot be used as a function
                 else if( !is_yuan(pwd[i])&& !is_yuan(pwd[i+1])&& !is_yuan(pwd[i+2]))
                                                              ^
0_0_23567327_1666.cpp:37:83: error: 'is_yuan' cannot be used as a function
                 else if( !is_yuan(pwd[i])&& !is_yuan(pwd[i+1])&& !is_yuan(pwd[i+2]))
                                                                                   ^


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-31 23:17:16, Gzip enabled