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_15877428_509.c: In function 'main':
0_0_15877428_509.c:4:2: error: stray '#' in program
     int n,a[100],sum,i;
  ^
0_0_15877428_509.c:4:1: error: lvalue required as unary '&' operand
     int n,a[100],sum,i;
 ^
0_0_15877428_509.c:4:8: error: stray '#' in program
     int n,a[100],sum,i;
        ^
0_0_15877428_509.c:4:7: error: lvalue required as unary '&' operand
     int n,a[100],sum,i;
       ^
0_0_15877428_509.c:4:14: error: stray '#' in program
     int n,a[100],sum,i;
              ^
0_0_15877428_509.c:4:13: error: lvalue required as unary '&' operand
     int n,a[100],sum,i;
             ^
0_0_15877428_509.c:4:20: error: stray '#' in program
     int n,a[100],sum,i;
                    ^
0_0_15877428_509.c:4:19: error: lvalue required as unary '&' operand
     int n,a[100],sum,i;
                   ^
0_0_15877428_509.c:5:2: error: stray '#' in program
     while(scanf("%d",&n)!=EOF&&n!=0) {  
  ^
0_0_15877428_509.c:5:1: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF&&n!=0) {  
 ^
0_0_15877428_509.c:5:8: error: stray '#' in program
     while(scanf("%d",&n)!=EOF&&n!=0) {  
        ^
0_0_15877428_509.c:5:7: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF&&n!=0) {  
       ^
0_0_15877428_509.c:5:14: error: stray '#' in program
     while(scanf("%d",&n)!=EOF&&n!=0) {  
              ^
0_0_15877428_509.c:5:13: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF&&n!=0) {  
             ^
0_0_15877428_509.c:5:20: error: stray '#' in program
     while(scanf("%d",&n)!=EOF&&n!=0) {  
                    ^
0_0_15877428_509.c:5:19: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF&&n!=0) {  
                   ^
0_0_15877428_509.c:6:2: error: stray '#' in program
         for(i=0;i<n;i++)
  ^
0_0_15877428_509.c:6:1: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
 ^
0_0_15877428_509.c:6:8: error: stray '#' in program
         for(i=0;i<n;i++)
        ^
0_0_15877428_509.c:6:7: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
       ^
0_0_15877428_509.c:6:14: error: stray '#' in program
         for(i=0;i<n;i++)
              ^
0_0_15877428_509.c:6:13: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
             ^
0_0_15877428_509.c:6:20: error: stray '#' in program
         for(i=0;i<n;i++)
                    ^
0_0_15877428_509.c:6:19: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
                   ^
0_0_15877428_509.c:6:26: error: stray '#' in program
         for(i=0;i<n;i++)
                          ^
0_0_15877428_509.c:6:25: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
                         ^
0_0_15877428_509.c:6:32: error: stray '#' in program
         for(i=0;i<n;i++)
                                ^
0_0_15877428_509.c:6:31: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
                               ^
0_0_15877428_509.c:6:38: error: stray '#' in program
         for(i=0;i<n;i++)
                                      ^
0_0_15877428_509.c:6:37: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
                                     ^
0_0_15877428_509.c:6:44: error: stray '#' in program
         for(i=0;i<n;i++)
                                            ^
0_0_15877428_509.c:6:43: error: lvalue required as unary '&' operand
         for(i=0;i<n;i++)
                                           ^
0_0_15877428_509.c:7:2: error: stray '#' in program
             scanf("%d",&a[i]);  
  ^
0_0_15877428_509.c:7:1: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
 ^
0_0_15877428_509.c:7:8: error: stray '#' in program
             scanf("%d",&a[i]);  
        ^
0_0_15877428_509.c:7:7: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
       ^
0_0_15877428_509.c:7:14: error: stray '#' in program
             scanf("%d",&a[i]);  
              ^
0_0_15877428_509.c:7:13: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
             ^
0_0_15877428_509.c:7:20: error: stray '#' in program
             scanf("%d",&a[i]);  
                    ^
0_0_15877428_509.c:7:19: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                   ^
0_0_15877428_509.c:7:26: error: stray '#' in program
             scanf("%d",&a[i]);  
                          ^
0_0_15877428_509.c:7:25: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                         ^
0_0_15877428_509.c:7:32: error: stray '#' in program
             scanf("%d",&a[i]);  
                                ^
0_0_15877428_509.c:7:31: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                               ^
0_0_15877428_509.c:7:38: error: stray '#' in program
             scanf("%d",&a[i]);  
                                      ^
0_0_15877428_509.c:7:37: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                                     ^
0_0_15877428_509.c:7:44: error: stray '#' in program
             scanf("%d",&a[i]);  
                                            ^
0_0_15877428_509.c:7:43: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                                           ^
0_0_15877428_509.c:7:50: error: stray '#' in program
             scanf("%d",&a[i]);  
                                                  ^
0_0_15877428_509.c:7:49: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                                                 ^
0_0_15877428_509.c:7:56: error: stray '#' in program
             scanf("%d",&a[i]);  
                                                        ^
0_0_15877428_509.c:7:55: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                                                       ^
0_0_15877428_509.c:7:62: error: stray '#' in program
             scanf("%d",&a[i]);  
                                                              ^
0_0_15877428_509.c:7:61: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                                                             ^
0_0_15877428_509.c:7:68: error: stray '#' in program
             scanf("%d",&a[i]);  
                                                                    ^
0_0_15877428_509.c:7:67: error: lvalue required as unary '&' operand
             scanf("%d",&a[i]);  
                                                                   ^
0_0_15877428_509.c:8:2: error: stray '#' in program
         sum=a[0]*6+5;  
  ^
0_0_15877428_509.c:8:1: error: lvalue required as unary '&' operand
         sum=a[0]*6+5;  
 ^
0_0_15877428_509.c:8:8: error: stray '#' in program
         sum=a[0]*6+5;  
        ^
0_0_15877428_509.c:8:7: error: lvalue required as unary '&' operand
        &#


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-25 11:28:41, Gzip enabled