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_19850713_24400.c:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>
         ^
0_0_19850713_24400.c: In function 'main':
0_0_19850713_24400.c:5:2: error: 'nbsp' undeclared (first use in this function)
       int n,i,j;
  ^
0_0_19850713_24400.c:5:2: note: each undeclared identifier is reported only once for each function it appears in
0_0_19850713_24400.c:5:40: error: expected identifier or '(' before '&' token
       int n,i,j;
                                        ^
0_0_19850713_24400.c:5:46: error: 'n' undeclared (first use in this function)
       int n,i,j;
                                              ^
0_0_19850713_24400.c:5:48: error: 'i' undeclared (first use in this function)
       int n,i,j;
                                                ^
0_0_19850713_24400.c:5:50: error: 'j' undeclared (first use in this function)
       int n,i,j;
                                                  ^
0_0_19850713_24400.c:6:43: error: expected identifier or '(' before '&' token
       double a[100];
                                           ^
0_0_19850713_24400.c:6:49: error: 'a' undeclared (first use in this function)
       double a[100];
                                                 ^
0_0_19850713_24400.c:7:43: error: expected identifier or '(' before '&' token
       double l,sum,ad;
                                           ^
0_0_19850713_24400.c:7:49: error: 'l' undeclared (first use in this function)
       double l,sum,ad;
                                                 ^
0_0_19850713_24400.c:7:51: error: 'sum' undeclared (first use in this function)
       double l,sum,ad;
                                                   ^
0_0_19850713_24400.c:7:55: error: 'ad' undeclared (first use in this function)
       double l,sum,ad;
                                                       ^
0_0_19850713_24400.c:8:59: error: 'EOF' undeclared (first use in this function)
       while(scanf("%d",&n)!=EOF)
                                                           ^


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-20 00:39:59, Gzip enabled