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_29213476_18096.c: In function 'main':
0_0_29213476_18096.c:4:2: error: stray '#' in program
     int n;
  ^
0_0_29213476_18096.c:4:1: error: lvalue required as unary '&' operand
     int n;
 ^
0_0_29213476_18096.c:4:9: error: stray '#' in program
     int n;
         ^
0_0_29213476_18096.c:4:8: error: lvalue required as unary '&' operand
     int n;
        ^
0_0_29213476_18096.c:5:2: error: stray '#' in program
     
  ^
0_0_29213476_18096.c:5:1: error: lvalue required as unary '&' operand
     
 ^
0_0_29213476_18096.c:5:9: error: stray '#' in program
     
         ^
0_0_29213476_18096.c:5:8: error: lvalue required as unary '&' operand
     
        ^
0_0_29213476_18096.c:6:2: error: stray '#' in program
     scanf("%d",&n);
  ^
0_0_29213476_18096.c:6:1: error: lvalue required as unary '&' operand
     scanf("%d",&n);
 ^
0_0_29213476_18096.c:6:9: error: stray '#' in program
     scanf("%d",&n);
         ^
0_0_29213476_18096.c:6:8: error: lvalue required as unary '&' operand
     scanf("%d",&n);
        ^
0_0_29213476_18096.c:7:2: error: stray '#' in program
     while(n--)
  ^
0_0_29213476_18096.c:7:1: error: lvalue required as unary '&' operand
     while(n--)
 ^
0_0_29213476_18096.c:7:9: error: stray '#' in program
     while(n--)
         ^
0_0_29213476_18096.c:7:8: error: lvalue required as unary '&' operand
     while(n--)
        ^
0_0_29213476_18096.c:10:2: error: stray '#' in program
         scanf("%lf %lf",&a,&b);
  ^
0_0_29213476_18096.c:10:1: error: lvalue required as unary '&' operand
         scanf("%lf %lf",&a,&b);
 ^
0_0_29213476_18096.c:10:9: error: stray '#' in program
         scanf("%lf %lf",&a,&b);
         ^
0_0_29213476_18096.c:10:8: error: lvalue required as unary '&' operand
         scanf("%lf %lf",&a,&b);
        ^
0_0_29213476_18096.c:10:16: error: stray '#' in program
         scanf("%lf %lf",&a,&b);
                ^
0_0_29213476_18096.c:10:15: error: lvalue required as unary '&' operand
         scanf("%lf %lf",&a,&b);
               ^
0_0_29213476_18096.c:10:23: error: stray '#' in program
         scanf("%lf %lf",&a,&b);
                       ^
0_0_29213476_18096.c:10:22: error: lvalue required as unary '&' operand
         scanf("%lf %lf",&a,&b);
                      ^
0_0_29213476_18096.c:11:2: error: stray '#' in program
         for(i=0; ;i++)
  ^
0_0_29213476_18096.c:11:1: error: lvalue required as unary '&' operand
         for(i=0; ;i++)
 ^
0_0_29213476_18096.c:11:9: error: stray '#' in program
         for(i=0; ;i++)
         ^
0_0_29213476_18096.c:11:8: error: lvalue required as unary '&' operand
         for(i=0; ;i++)
        ^
0_0_29213476_18096.c:11:16: error: stray '#' in program
         for(i=0; ;i++)
                ^
0_0_29213476_18096.c:11:15: error: lvalue required as unary '&' operand
         for(i=0; ;i++)
               ^
0_0_29213476_18096.c:11:23: error: stray '#' in program
         for(i=0; ;i++)
                       ^
0_0_29213476_18096.c:11:22: error: lvalue required as unary '&' operand
         for(i=0; ;i++)
                      ^
0_0_29213476_18096.c:11:33: error: 'i' undeclared (first use in this function)
         for(i=0; ;i++)
                                 ^
0_0_29213476_18096.c:11:33: note: each undeclared identifier is reported only once for each function it appears in
0_0_29213476_18096.c:13:2: error: stray '#' in program
             if((int)(i*a/100)<(int)(i*b/100))
  ^
0_0_29213476_18096.c:13:1: error: lvalue required as unary '&' operand
             if((int)(i*a/100)<(int)(i*b/100))
 ^
0_0_29213476_18096.c:13:9: error: stray '#' in program
             if((int)(i*a/100)<(int)(i*b/100))
         ^
0_0_29213476_18096.c:13:8: error: lvalue required as unary '&' operand
             if((int)(i*a/100)<(int)(i*b/100))
        ^
0_0_29213476_18096.c:13:16: error: stray '#' in program
             if((int)(i*a/100)<(int)(i*b/100))
                ^
0_0_29213476_18096.c:13:15: error: lvalue required as unary '&' operand
             if((int)(i*a/100)<(int)(i*b/100))
               ^
0_0_29213476_18096.c:13:23: error: stray '#' in program
             if((int)(i*a/100)<(int)(i*b/100))
                       ^
0_0_29213476_18096.c:13:22: error: lvalue required as unary '&' operand
             if((int)(i*a/100)<(int)(i*b/100))
                      ^
0_0_29213476_18096.c:13:30: error: stray '#' in program
             if((int)(i*a/100)<(int)(i*b/100))
                              ^
0_0_29213476_18096.c:13:29: error: lvalue required as unary '&' operand
             if((int)(i*a/100)<(int)(i*b/100))
                             ^
0_0_29213476_18096.c:13:37: error: stray '#' in program
             if((int)(i*a/100)<(int)(i*b/100))
                                     ^
0_0_29213476_18096.c:13:36: error: lvalue required as unary '&' operand
             if((int)(i*a/100)<(int)(i*b/100))
                                    ^
0_0_29213476_18096.c:14:2: error: stray '#' in program
             break;
  ^
0_0_29213476_18096.c:14:1: error: lvalue required as unary '&' operand
             break;
 ^
0_0_29213476_18096.c:14:9: error: stray '#' in program
             break;
         ^
0_0_29213476_18096.c:14:8: error: lvalue required as unary '&' operand
             break;
        ^
0_0_29213476_18096.c:14:16: error: stray '#' in program
             break;
                ^
0_0_29213476_18096.c:14:15: error: lvalue required as unary '&' operand
             break;
               ^
0_0_29213476_18096.c:14:23: error: stray '#' in program
             break;
                       ^
0_0_29213476_18096.c:14:22: error: lvalue required as unary '&' operand
             break;
                      ^
0_0_29213476_18096.c:14:30: error: stray '#' in program
             break;
                              ^
0_0_29213476_18096.c:14:29: error: lvalue required as unary '&' operand
             break;
                             ^
0_0_29213476_18096.c:14:37: error: stray '#' in program
             break;
                                     ^
0_0_29213476_18096.c:14:36: error: lvalue required as unary '&' operand
             break;
                                    ^
0_0_29213476_18096.c:15:2: error: stray '#' in program
         }
  ^
0_0_29213476_18096.c:15:1: error: lvalue required as unary '&' operand
         }
 ^
0_0_29213476_18096.c:15:9: error: stray '#' in program
         }
         ^
0_0_29213476_18096.c:15:8: error: lvalue required as unary '&' operand
         }
        ^
0_0_29213476_18096.c:15:16: error: stray '#' in program
         }
                ^
0_0_29213476_18096.c:15:15: error: lvalue required as unary '&' operand
         }
               ^
0_0_29213476_18096.c:15:23: error: stray '#' in program
         }
                       ^
0_0_29213476_18096.c:15:22: error: lvalue required as unary '&' operand
         }
                      ^
0_0_29213476_18096.c:16:2: error: stray '#' in program
         printf("%d\n",i);
  ^
0_0_29213476_18096.c:16:1: error: lvalue required as unary '&' operand
         printf("%d\n",i);
 ^
0_0_29213476_18096.c:16:9: error: stray '#' in program
         printf("%d\n",i);
         ^
0_0_29213476_18096.c:16:8: error: lvalue required as unary '&' operand
         printf("%d\n",i);
        ^
0_0_29213476_18096.c:16:16: error: stray '#' in program
         printf("%d\n",i);
                ^
0_0_29213476_18096.c:16:15: error: lvalue required as unary '&' operand
         printf("%d\n",i);
               ^
0_0_29213476_18096.c:16:23: error: stray '#' in program
         printf("%d\n",i);
                       ^
0_0_29213476_18096.c:16:22: error: lvalue required as unary '&' operand
         printf("%d\n",i);
                      ^
0_0_29213476_18096.c:17:2: error: stray '#' in program
     }
  ^
0_0_29213476_18096.c:17:1: 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-12-02 09:34:34, Gzip enabled