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_20881836_27606.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_20881836_27606.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_20881836_27606.cpp: In function 'int main()':
0_0_20881836_27606.cpp:6:30: error: 'scanf' was not declared in this scope
     char a[50]; scanf("%d",&M);
                              ^
0_0_20881836_27606.cpp:7:16: error: expected primary-expression before '/' token
     for(i=0;i<</font>M;i++)
                ^
0_0_20881836_27606.cpp:7:17: error: 'font' was not declared in this scope
     for(i=0;i<</font>M;i++)
                 ^
0_0_20881836_27606.cpp:10:19: error: 'strlen' was not declared in this scope
         t=strlen(a);
                   ^
0_0_20881836_27606.cpp:17:20: error: expected primary-expression before '/' token
         for(k=0;k<</font>t;k++) 
                    ^
0_0_20881836_27606.cpp:19:31: error: expected primary-expression before '/' token
             if(a[k]>64&&a[k]<</font>91)
                               ^
0_0_20881836_27606.cpp:21:31: error: expected primary-expression before '/' token
             if(a[k]>96&&a[k]<</font>123)
                               ^
0_0_20881836_27606.cpp:23:31: error: expected primary-expression before '/' token
             if(a[k]>47&&a[k]<</font>58) 
                               ^
0_0_20881836_27606.cpp:25:44: error: expected primary-expression before '/' token
             if((a[k]==33)||(a[k]>34&&a[k]<</font>38)||(a[k]==94)||(a[k]==126)||(a[k]==64))
                                            ^
0_0_20881836_27606.cpp:31:27: error: 'printf' was not declared in this scope
             printf("YES\n");
                           ^
0_0_20881836_27606.cpp:34:26: error: 'printf' was not declared in this scope
             printf("NO\n"); 
                          ^


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-17 07:25:23, Gzip enabled