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_20007945_11158.c: In function 'main':
0_0_20007945_11158.c:4:34: error: expected expression before '/' token
  int jdian,n,x1,x2,y1,y2,i,j,mid;//i横j纵
                                  ^
0_0_20007945_11158.c:4:34: error: stray '\272' in program
0_0_20007945_11158.c:4:34: error: stray '\341' in program
0_0_20007945_11158.c:4:34: error: stray '\327' in program
0_0_20007945_11158.c:4:34: error: stray '\335' in program
0_0_20007945_11158.c:17:3: error: 'sum' undeclared (first use in this function)
   sum=0;
   ^
0_0_20007945_11158.c:17:3: note: each undeclared identifier is reported only once for each function it appears in
0_0_20007945_11158.c:24:4: error: expected expression before '/' token
   }//一条 斜线上 
    ^
0_0_20007945_11158.c:24:4: error: stray '\322' in program
0_0_20007945_11158.c:24:4: error: stray '\273' in program
0_0_20007945_11158.c:24:4: error: stray '\314' in program
0_0_20007945_11158.c:24:4: error: stray '\365' in program
0_0_20007945_11158.c:24:4: error: stray '\320' in program
0_0_20007945_11158.c:24:4: error: stray '\261' in program
0_0_20007945_11158.c:24:4: error: stray '\317' in program
0_0_20007945_11158.c:24:4: error: stray '\337' in program
0_0_20007945_11158.c:24:4: error: stray '\311' in program
0_0_20007945_11158.c:24:4: error: stray '\317' in program
0_0_20007945_11158.c:29:6: error: stray '\320' in program
      sum=sum+sqrt(jdian*jdian+i*i);//斜对角 
      ^
0_0_20007945_11158.c:29:6: error: stray '\261' in program
0_0_20007945_11158.c:29:6: error: stray '\266' in program
0_0_20007945_11158.c:29:6: error: stray '\324' in program
0_0_20007945_11158.c:29:6: error: stray '\275' in program
0_0_20007945_11158.c:29:6: error: stray '\307' in program
0_0_20007945_11158.c:32:6: error: stray '\325' in program
      sum=sum+sqrt(2*jdian*jdian);//正对角 
      ^
0_0_20007945_11158.c:32:6: error: stray '\375' in program
0_0_20007945_11158.c:32:6: error: stray '\266' in program
0_0_20007945_11158.c:32:6: error: stray '\324' in program
0_0_20007945_11158.c:32:6: error: stray '\275' in program
0_0_20007945_11158.c:32:6: error: stray '\307' in program
0_0_20007945_11158.c:35:4: error: stray '\267' in program
    }//非一条斜线上 
    ^
0_0_20007945_11158.c:35:4: error: stray '\307' in program
0_0_20007945_11158.c:35:4: error: stray '\322' in program
0_0_20007945_11158.c:35:4: error: stray '\273' in program
0_0_20007945_11158.c:35:4: error: stray '\314' in program
0_0_20007945_11158.c:35:4: error: stray '\365' in program
0_0_20007945_11158.c:35:4: error: stray '\320' in program
0_0_20007945_11158.c:35:4: error: stray '\261' in program
0_0_20007945_11158.c:35:4: error: stray '\317' in program
0_0_20007945_11158.c:35:4: error: stray '\337' in program
0_0_20007945_11158.c:35:4: error: stray '\311' in program
0_0_20007945_11158.c:35:4: error: stray '\317' in program


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-27 12:52:38, Gzip enabled