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_15479056_27202.cpp:1:9: error: empty filename in #include
 #include<>
         ^
0_0_15479056_27202.cpp: In function 'int main()':
0_0_15479056_27202.cpp:6:30: error: 'scanf' was not declared in this scope
     while(scanf("%c %d",&a,&n)!=EOF)
                              ^
0_0_15479056_27202.cpp:6:33: error: 'EOF' was not declared in this scope
     while(scanf("%c %d",&a,&n)!=EOF)
                                 ^
0_0_15479056_27202.cpp:12:59: error: 'printf' was not declared in this scope
             if(j==n-(i+1)||j==n+i-1||i==n-1) printf("c%",a);
                                                           ^
0_0_15479056_27202.cpp:13:28: error: 'printf' was not declared in this scope
             else printf(" ");
                            ^
0_0_15479056_27202.cpp:16:22: error: 'printf' was not declared in this scope
           printf("\n");
                      ^
0_0_15479056_27202.cpp:18:19: error: 'printf' was not declared in this scope
        printf("\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-12-04 10:36:03, Gzip enabled