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_32410278_6098.cpp: In function 'int main()':
0_0_32410278_6098.cpp:8:23: error: 'scanf' was not declared in this scope
     while(scanf("%s",s)!=EOF)
                       ^
0_0_32410278_6098.cpp:8:26: error: 'EOF' was not declared in this scope
     while(scanf("%s",s)!=EOF)
                          ^
0_0_32410278_6098.cpp:14:24: error: 'printf' was not declared in this scope
             printf("\n");
                        ^
0_0_32410278_6098.cpp:21:32: error: 'printf' was not declared in this scope
                     printf("\n");
                                ^
0_0_32410278_6098.cpp:23:104: error: 'printf' was not declared in this scope
             printf("--------------------------------------------------------------------------------\n");
                                                                                                        ^
0_0_32410278_6098.cpp:32:31: error: 'printf' was not declared in this scope
                     printf(" ");
                               ^
0_0_32410278_6098.cpp:33:30: error: 'printf' was not declared in this scope
                 printf("%s",s);
                              ^
0_0_32410278_6098.cpp:39:32: error: 'printf' was not declared in this scope
                 printf("\n%s",s);
                                ^
0_0_32410278_6098.cpp:43:16: error: 'printf' was not declared in this scope
     printf("\n");              //这里也是一个坑点,PE
                ^


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-07-04 04:01:30, Gzip enabled