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_33414532_19327.c: In function 'bingbao':
0_0_33414532_19327.c:5:2: error: stray '#' in program
     int i=1;
  ^
0_0_33414532_19327.c:5:1: error: lvalue required as unary '&' operand
     int i=1;
 ^
0_0_33414532_19327.c:5:9: error: stray '#' in program
     int i=1;
         ^
0_0_33414532_19327.c:5:8: error: lvalue required as unary '&' operand
     int i=1;
        ^
0_0_33414532_19327.c:6:2: error: stray '#' in program
     while(a!=1){
  ^
0_0_33414532_19327.c:6:1: error: lvalue required as unary '&' operand
     while(a!=1){
 ^
0_0_33414532_19327.c:6:9: error: stray '#' in program
     while(a!=1){
         ^
0_0_33414532_19327.c:6:8: error: lvalue required as unary '&' operand
     while(a!=1){
        ^
0_0_33414532_19327.c:7:2: error: stray '#' in program
     if(a%2==1) a=3*a+1;
  ^
0_0_33414532_19327.c:7:1: error: lvalue required as unary '&' operand
     if(a%2==1) a=3*a+1;
 ^
0_0_33414532_19327.c:7:9: error: stray '#' in program
     if(a%2==1) a=3*a+1;
         ^
0_0_33414532_19327.c:7:8: error: lvalue required as unary '&' operand
     if(a%2==1) a=3*a+1;
        ^
0_0_33414532_19327.c:8:2: error: stray '#' in program
     else a=a/2;
  ^
0_0_33414532_19327.c:8:1: error: lvalue required as unary '&' operand
     else a=a/2;
 ^
0_0_33414532_19327.c:8:9: error: stray '#' in program
     else a=a/2;
         ^
0_0_33414532_19327.c:8:8: error: lvalue required as unary '&' operand
     else a=a/2;
        ^
0_0_33414532_19327.c:8:15: error: 'else' without a previous 'if'
     else a=a/2;
               ^
0_0_33414532_19327.c:9:2: error: stray '#' in program
     i++;
  ^
0_0_33414532_19327.c:9:1: error: lvalue required as unary '&' operand
     i++;
 ^
0_0_33414532_19327.c:9:9: error: stray '#' in program
     i++;
         ^
0_0_33414532_19327.c:9:8: error: lvalue required as unary '&' operand
     i++;
        ^
0_0_33414532_19327.c:10:2: error: stray '#' in program
     }
  ^
0_0_33414532_19327.c:10:1: error: lvalue required as unary '&' operand
     }
 ^
0_0_33414532_19327.c:10:9: error: stray '#' in program
     }
         ^
0_0_33414532_19327.c:10:8: error: lvalue required as unary '&' operand
     }
        ^
0_0_33414532_19327.c:11:2: error: stray '#' in program
     return i;
  ^
0_0_33414532_19327.c:11:1: error: lvalue required as unary '&' operand
     return i;
 ^
0_0_33414532_19327.c:11:9: error: stray '#' in program
     return i;
         ^
0_0_33414532_19327.c:11:8: error: lvalue required as unary '&' operand
     return i;
        ^
0_0_33414532_19327.c: In function 'main':
0_0_33414532_19327.c:15:2: error: stray '#' in program
     int m,n,sum,i,f,a;
  ^
0_0_33414532_19327.c:15:1: error: lvalue required as unary '&' operand
     int m,n,sum,i,f,a;
 ^
0_0_33414532_19327.c:15:9: error: stray '#' in program
     int m,n,sum,i,f,a;
         ^
0_0_33414532_19327.c:15:8: error: lvalue required as unary '&' operand
     int m,n,sum,i,f,a;
        ^
0_0_33414532_19327.c:16:2: error: stray '#' in program
     while(scanf("%d%d",&m,&n)!=EOF){
  ^
0_0_33414532_19327.c:16:1: error: lvalue required as unary '&' operand
     while(scanf("%d%d",&m,&n)!=EOF){
 ^
0_0_33414532_19327.c:16:9: error: stray '#' in program
     while(scanf("%d%d",&m,&n)!=EOF){
         ^
0_0_33414532_19327.c:16:8: error: lvalue required as unary '&' operand
     while(scanf("%d%d",&m,&n)!=EOF){
        ^
0_0_33414532_19327.c:17:2: error: stray '#' in program
         f=0;
  ^
0_0_33414532_19327.c:17:1: error: lvalue required as unary '&' operand
         f=0;
 ^
0_0_33414532_19327.c:17:9: error: stray '#' in program
         f=0;
         ^
0_0_33414532_19327.c:17:8: error: lvalue required as unary '&' operand
         f=0;
        ^
0_0_33414532_19327.c:17:16: error: stray '#' in program
         f=0;
                ^
0_0_33414532_19327.c:17:15: error: lvalue required as unary '&' operand
         f=0;
               ^
0_0_33414532_19327.c:17:23: error: stray '#' in program
         f=0;
                       ^
0_0_33414532_19327.c:17:22: error: lvalue required as unary '&' operand
         f=0;
                      ^
0_0_33414532_19327.c:18:2: error: stray '#' in program
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
  ^
0_0_33414532_19327.c:18:1: error: lvalue required as unary '&' operand
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
 ^
0_0_33414532_19327.c:18:9: error: stray '#' in program
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
         ^
0_0_33414532_19327.c:18:8: error: lvalue required as unary '&' operand
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
        ^
0_0_33414532_19327.c:18:16: error: stray '#' in program
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
                ^
0_0_33414532_19327.c:18:15: error: lvalue required as unary '&' operand
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
               ^
0_0_33414532_19327.c:18:23: error: stray '#' in program
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
                       ^
0_0_33414532_19327.c:18:22: error: lvalue required as unary '&' operand
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
                      ^
0_0_33414532_19327.c:18:57: error: expected expression before '/' token
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
                                                         ^
0_0_33414532_19327.c:18:57: error: stray '\241' in program
0_0_33414532_19327.c:18:57: error: stray '\300' in program
0_0_33414532_19327.c:18:57: error: stray '\241' in program
0_0_33414532_19327.c:18:57: error: stray '\352' in program
0_0_33414532_19327.c:18:64: error: stray '#' in program
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
                                                                ^
0_0_33414532_19327.c:18:57: error: stray '\241' in program
         if(m>n){ i=m,m=n,n=i; f=1;} //¡À¡êÖ¡èm<n;
                                                         ^
0_0_33414532_19327.c:18:57: error: stray '\350' in program
0_0_33414532_19327.c:19:2: error: stray '#' in program
         sum=0;
  ^
0_0_33414532_19327.c:19:1: error: lvalue required as unary '&' operand
         sum=0;
 ^
0_0_33414532_19327.c:19:9: error: stray '#' in program
         sum=0;
         ^
0_0_33414532_19327.c:19:8: error: lvalue required as unary '&' operand
         sum=0;
        ^
0_0_33414532_19327.c:19:16: error: stray '#' in program
         sum=0;
                ^
0_0_33414532_19327.c:19:15: error: lvalue required as unary '&' operand
         sum=0;
               ^
0_0_33414532_19327.c:19:23: error: stray '#' in program
         sum=0;
                       ^
0_0_33414532_19327.c:19:22: error: lvalue required as unary '&' operand
         sum=0;
                      ^
0_0_33414532_19327.c:20:2: error: stray '#' in program
         for(i=m;i<=n;i++){
  ^
0_0_33414532_19327.c:20:1: error: lvalue required as unary '&' operand
         for(i=m;i<=n;i++){
 ^
0_0_33414532_19327.c:20:9: error: stray '#' in program
         for(i=m;i<=n;i++){
         ^
0_0_33414532_19327.c:20:8: error: lvalue required as unary '&' operand
         for(i=m;i<=n;i++){
        ^
0_0_33414532_19327.c:20:16: error: stray '#' in program
         for(i=m;i<=n;i++){
                ^
0_0_33414532_19327.c:20:15: error: lvalue required as unary '&' operand
         for(i=m;i<=n;i++){
               ^
0_0_33414532_19327.c:20:23: error: stray '#' in program
         for(i=m;i<=n;i++){
                       ^
0_0_33414532_19327.c:20:22: error: lvalue required as unary '&' operand
         for(i=m;i<=n;i++){
                      ^
0_0_33414532_19327.c:21:2: error: stray '#' in program
             a=bingbao(i);
  ^
0_0_33414532_19327.c:21:1: error: lvalue required as unary '&' operand
             a=bingbao(i);
 ^
0_0_33414532_19327.c:21:9: error: stray '#' in program
             a=bingbao(i);
         ^
0_0_33414532_19327.c:21:8: error: lvalue required as unary '&' operand
             a=bingbao(i);
        ^
0_0_33414532_19327.c:21:16: error: stray '#' in program
             a=bingbao(i);
                ^
0_0_33414532_19327.c:21:15: e


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 18:42:37, Gzip enabled