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_39795180_18475.cpp:7:7: error: expected nested-name-specifier before 'namespacestd'
    7 | using namespacestd;
      |       ^~~~~~~~~~~~
0_0_39795180_18475.cpp:8:1: error: 'chars' does not name a type; did you mean 'char'?
    8 | chars[]={'a','e','i','o','u'};
      | ^~~~~
      | char
0_0_39795180_18475.cpp:9:14: error: 'charx' was not declared in this scope; did you mean 'char'?
    9 | bool is_yuan(charx)//ÅжÏ×ÖĸÊÇ·ñÊÇÔªÒô×Öĸ
      |              ^~~~~
      |              char
0_0_39795180_18475.cpp: In function 'int main()':
0_0_39795180_18475.cpp:25:23: error: 'is_yuan' cannot be used as a function
   25 |             if(is_yuan( pwd[i] ))
      |                ~~~~~~~^~~~~~~~~~
0_0_39795180_18475.cpp:35:28: error: 'is_yuan' cannot be used as a function
   35 |                 if( is_yuan(pwd[i])&&is_yuan(pwd[i+1])&&is_yuan(pwd[i+2]))
      |                     ~~~~~~~^~~~~~~~
0_0_39795180_18475.cpp:35:45: error: 'is_yuan' cannot be used as a function
   35 |                 if( is_yuan(pwd[i])&&is_yuan(pwd[i+1])&&is_yuan(pwd[i+2]))
      |                                      ~~~~~~~^~~~~~~~~~
0_0_39795180_18475.cpp:35:64: error: 'is_yuan' cannot be used as a function
   35 |                 if( is_yuan(pwd[i])&&is_yuan(pwd[i+1])&&is_yuan(pwd[i+2]))
      |                                                         ~~~~~~~^~~~~~~~~~
0_0_39795180_18475.cpp:40:34: error: 'is_yuan' cannot be used as a function
   40 |                 else if( !is_yuan(pwd[i])&& !is_yuan(pwd[i+1])&& !is_yuan(pwd[i+2]))
      |                           ~~~~~~~^~~~~~~~
0_0_39795180_18475.cpp:40:53: error: 'is_yuan' cannot be used as a function
   40 |                 else if( !is_yuan(pwd[i])&& !is_yuan(pwd[i+1])&& !is_yuan(pwd[i+2]))
      |                                              ~~~~~~~^~~~~~~~~~
0_0_39795180_18475.cpp:40:74: error: 'is_yuan' cannot be used as a function
   40 |                 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-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 05:22:00, Gzip enabled