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_24903636_29173.c: In function 'main':
0_0_24903636_29173.c:4:20: error: expected expression before '/' token
     double sum, n; // °Ñ n Ū³É double
                    ^
0_0_24903636_29173.c:4:20: error: stray '\260' in program
0_0_24903636_29173.c:4:20: error: stray '\321' in program
0_0_24903636_29173.c:4:20: error: stray '\305' in program
0_0_24903636_29173.c:4:20: error: stray '\252' in program
0_0_24903636_29173.c:4:20: error: stray '\263' in program
0_0_24903636_29173.c:4:20: error: stray '\311' in program
0_0_24903636_29173.c:6:33: error: 'm' undeclared (first use in this function)
     while (scanf("%lf %d", &n, &m) != EOF) {
                                 ^
0_0_24903636_29173.c:6:33: note: each undeclared identifier is reported only once for each function it appears in
0_0_24903636_29173.c:8:14: error: 'i' undeclared (first use in this function)
         for (i = 0; i < m - 1; i++) {
              ^


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-10-06 19:22:12, Gzip enabled