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_25048715_21761.cpp:1:11: error: #include expects "FILENAME" or <FILENAME>
 #include  
           ^
0_0_25048715_21761.cpp:2:11: error: #include expects "FILENAME" or <FILENAME>
 #include  
           ^
0_0_25048715_21761.cpp:3:11: error: #include expects "FILENAME" or <FILENAME>
 #include  
           ^
0_0_25048715_21761.cpp: In function 'void change(char*, int)':
0_0_25048715_21761.cpp:13:28: error: 'printf' was not declared in this scope
         printf("%c", str[i]);  
                            ^
0_0_25048715_21761.cpp:15:16: error: 'printf' was not declared in this scope
     printf("\n");  
                ^
0_0_25048715_21761.cpp: In function 'int main()':
0_0_25048715_21761.cpp:26:23: error: 'scanf' was not declared in this scope
         scanf("%s", &s);  
                       ^
0_0_25048715_21761.cpp:27:17: error: 'getchar' was not declared in this scope
         getchar();  
                 ^
0_0_25048715_21761.cpp:28:35: error: 'strcmp' was not declared in this scope
         if (strcmp(s, "ENDOFINPUT") == 0) {  
                                   ^
0_0_25048715_21761.cpp:32:46: error: 'memset' was not declared in this scope
         memset(str, '\0', 1000 * sizeof(char));  
                                              ^


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-23 09:31:37, Gzip enabled