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_33242137_3092.c: In function 'main':
0_0_33242137_3092.c:4:11: error: expected declaration specifiers before '&' token
 int main()  
           ^
0_0_33242137_3092.c:4:12: error: stray '#' in program
 int main()  
            ^
0_0_33242137_3092.c:4:17: error: expected declaration specifiers before '&' token
 int main()  
                 ^
0_0_33242137_3092.c:4:18: error: stray '#' in program
 int main()  
                  ^
0_0_33242137_3092.c:5:3: error: stray '#' in program
 {  
   ^
0_0_33242137_3092.c:5:2: error: lvalue required as unary '&' operand
 {  
  ^
0_0_33242137_3092.c:5:9: error: stray '#' in program
 {  
         ^
0_0_33242137_3092.c:5:8: error: lvalue required as unary '&' operand
 {  
        ^
0_0_33242137_3092.c:6:2: error: stray '#' in program
     int n,x1,y1,x2,y2,i,x,y;  
  ^
0_0_33242137_3092.c:6:1: error: lvalue required as unary '&' operand
     int n,x1,y1,x2,y2,i,x,y;  
 ^
0_0_33242137_3092.c:6:8: error: stray '#' in program
     int n,x1,y1,x2,y2,i,x,y;  
        ^
0_0_33242137_3092.c:6:7: error: lvalue required as unary '&' operand
     int n,x1,y1,x2,y2,i,x,y;  
       ^
0_0_33242137_3092.c:6:14: error: stray '#' in program
     int n,x1,y1,x2,y2,i,x,y;  
              ^
0_0_33242137_3092.c:6:13: error: lvalue required as unary '&' operand
     int n,x1,y1,x2,y2,i,x,y;  
             ^
0_0_33242137_3092.c:6:20: error: stray '#' in program
     int n,x1,y1,x2,y2,i,x,y;  
                    ^
0_0_33242137_3092.c:6:19: error: lvalue required as unary '&' operand
     int n,x1,y1,x2,y2,i,x,y;  
                   ^
0_0_33242137_3092.c:6:28: error: expected identifier or '(' before '&' token
     int n,x1,y1,x2,y2,i,x,y;  
                            ^
0_0_33242137_3092.c:6:29: error: stray '#' in program
     int n,x1,y1,x2,y2,i,x,y;  
                             ^
0_0_33242137_3092.c:6:34: error: 'n' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                  ^
0_0_33242137_3092.c:6:34: note: each undeclared identifier is reported only once for each function it appears in
0_0_33242137_3092.c:6:36: error: 'x1' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                    ^
0_0_33242137_3092.c:6:39: error: 'y1' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                       ^
0_0_33242137_3092.c:6:42: error: 'x2' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                          ^
0_0_33242137_3092.c:6:45: error: 'y2' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                             ^
0_0_33242137_3092.c:6:48: error: 'i' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                                ^
0_0_33242137_3092.c:6:50: error: 'x' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                                  ^
0_0_33242137_3092.c:6:52: error: 'y' undeclared (first use in this function)
     int n,x1,y1,x2,y2,i,x,y;  
                                                    ^
0_0_33242137_3092.c:6:55: error: stray '#' in program
     int n,x1,y1,x2,y2,i,x,y;  
                                                       ^
0_0_33242137_3092.c:6:54: error: lvalue required as unary '&' operand
     int n,x1,y1,x2,y2,i,x,y;  
                                                      ^
0_0_33242137_3092.c:6:61: error: stray '#' in program
     int n,x1,y1,x2,y2,i,x,y;  
                                                             ^
0_0_33242137_3092.c:6:60: error: lvalue required as unary '&' operand
     int n,x1,y1,x2,y2,i,x,y;  
                                                            ^
0_0_33242137_3092.c:7:2: error: stray '#' in program
     double sum;  
  ^
0_0_33242137_3092.c:7:1: error: lvalue required as unary '&' operand
     double sum;  
 ^
0_0_33242137_3092.c:7:8: error: stray '#' in program
     double sum;  
        ^
0_0_33242137_3092.c:7:7: error: lvalue required as unary '&' operand
     double sum;  
       ^
0_0_33242137_3092.c:7:14: error: stray '#' in program
     double sum;  
              ^
0_0_33242137_3092.c:7:13: error: lvalue required as unary '&' operand
     double sum;  
             ^
0_0_33242137_3092.c:7:20: error: stray '#' in program
     double sum;  
                    ^
0_0_33242137_3092.c:7:19: error: lvalue required as unary '&' operand
     double sum;  
                   ^
0_0_33242137_3092.c:7:31: error: expected identifier or '(' before '&' token
     double sum;  
                               ^
0_0_33242137_3092.c:7:32: error: stray '#' in program
     double sum;  
                                ^
0_0_33242137_3092.c:7:37: error: 'sum' undeclared (first use in this function)
     double sum;  
                                     ^
0_0_33242137_3092.c:7:42: error: stray '#' in program
     double sum;  
                                          ^
0_0_33242137_3092.c:7:41: error: lvalue required as unary '&' operand
     double sum;  
                                         ^
0_0_33242137_3092.c:7:48: error: stray '#' in program
     double sum;  
                                                ^
0_0_33242137_3092.c:7:47: error: lvalue required as unary '&' operand
     double sum;  
                                               ^
0_0_33242137_3092.c:8:2: error: stray '#' in program
     while(scanf("%d",&n)&&n)  
  ^
0_0_33242137_3092.c:8:1: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)&&n)  
 ^
0_0_33242137_3092.c:8:8: error: stray '#' in program
     while(scanf("%d",&n)&&n)  
        ^
0_0_33242137_3092.c:8:7: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)&&n)  
       ^
0_0_33242137_3092.c:8:14: error: stray '#' in program
     while(scanf("%d",&n)&&n)  
              ^
0_0_33242137_3092.c:8:13: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)&&n)  
             ^
0_0_33242137_3092.c:8:20: error: stray '#' in program
     while(scanf("%d",&n)&&n)  
                    ^
0_0_33242137_3092.c:8:19: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)&&n)  
                   ^
0_0_33242137_3092.c:8:50: error: stray '#' in program
     while(scanf("%d",&n)&&n)  
                                                  ^
0_0_33242137_3092.c:8:49: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)&&n)  
                                                 ^
0_0_33242137_3092.c:8:56: error: stray '#' in program
     while(scanf("%d",&n)&&n)  
                                                        ^
0_0_33242137_3092.c:8:55: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)&&n)  
                                                       ^
0_0_33242137_3092.c:9:2: error: stray '#' in program
     {  
  ^
0_0_33242137_3092.c:9:1: error: lvalue required as unary '&' operand
     {  
 ^
0_0_33242137_3092.c:9:8: error: stray '#' in program
     {  
        ^
0_0_33242137_3092.c:9:7: error: lvalue required as unary '&' operand
     {  
       ^
0_0_33242137_3092.c:9:14: error: stray '#' in program
     {  
              ^
0_0_33242137_3092.c:9:13: error: lvalue required as unary '&' operand
     {  
             ^
0_0_33242137_3092.c:9:20: error: stray '#' in program
     {  
                    ^
0_0_33242137_3092.c:9:19: error: lvalue required as unary '&' operand
     {  
                   ^
R


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 23:20:49, Gzip enabled