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_33173947_19102.c: In function 'main':
0_0_33173947_19102.c:4:3: error: stray '#' in program
 { 
   ^
0_0_33173947_19102.c:4:2: error: lvalue required as unary '&' operand
 { 
  ^
0_0_33173947_19102.c:6:2: error: stray '#' in program
   int n,k,i,t;
  ^
0_0_33173947_19102.c:6:1: error: lvalue required as unary '&' operand
   int n,k,i,t;
 ^
0_0_33173947_19102.c:7:2: error: stray '#' in program
   scanf("%d",&n);
  ^
0_0_33173947_19102.c:7:1: error: lvalue required as unary '&' operand
   scanf("%d",&n);
 ^
0_0_33173947_19102.c:8:2: error: stray '#' in program
   getchar();
  ^
0_0_33173947_19102.c:8:1: error: lvalue required as unary '&' operand
   getchar();
 ^
0_0_33173947_19102.c:9:3: error: stray '#' in program
   while(n--)
   ^
0_0_33173947_19102.c:9:2: error: lvalue required as unary '&' operand
   while(n--)
  ^
0_0_33173947_19102.c:10:3: error: stray '#' in program
   { 
   ^
0_0_33173947_19102.c:10:2: error: lvalue required as unary '&' operand
   { 
  ^
0_0_33173947_19102.c:10:10: error: stray '#' in program
   { 
          ^
0_0_33173947_19102.c:10:9: error: lvalue required as unary '&' operand
   { 
         ^
0_0_33173947_19102.c:12:2: error: stray '#' in program
   gets(a);
  ^
0_0_33173947_19102.c:12:1: error: lvalue required as unary '&' operand
   gets(a);
 ^
0_0_33173947_19102.c:12:8: error: stray '#' in program
   gets(a);
        ^
0_0_33173947_19102.c:12:7: error: lvalue required as unary '&' operand
   gets(a);
       ^
0_0_33173947_19102.c:13:2: error: stray '#' in program
   k=strlen(a);
  ^
0_0_33173947_19102.c:13:1: error: lvalue required as unary '&' operand
   k=strlen(a);
 ^
0_0_33173947_19102.c:13:8: error: stray '#' in program
   k=strlen(a);
        ^
0_0_33173947_19102.c:13:7: error: lvalue required as unary '&' operand
   k=strlen(a);
       ^
0_0_33173947_19102.c:14:2: error: stray '#' in program
   for(i=0;i<k;i++)
  ^
0_0_33173947_19102.c:14:1: error: lvalue required as unary '&' operand
   for(i=0;i<k;i++)
 ^
0_0_33173947_19102.c:14:8: error: stray '#' in program
   for(i=0;i<k;i++)
        ^
0_0_33173947_19102.c:14:7: error: lvalue required as unary '&' operand
   for(i=0;i<k;i++)
       ^
0_0_33173947_19102.c:15:2: error: stray '#' in program
    if(a[i]<0)
  ^
0_0_33173947_19102.c:15:1: error: lvalue required as unary '&' operand
    if(a[i]<0)
 ^
0_0_33173947_19102.c:15:8: error: stray '#' in program
    if(a[i]<0)
        ^
0_0_33173947_19102.c:15:7: error: lvalue required as unary '&' operand
    if(a[i]<0)
       ^
0_0_33173947_19102.c:15:14: error: stray '#' in program
    if(a[i]<0)
              ^
0_0_33173947_19102.c:15:13: error: lvalue required as unary '&' operand
    if(a[i]<0)
             ^
0_0_33173947_19102.c:16:2: error: stray '#' in program
    t++;
  ^
0_0_33173947_19102.c:16:1: error: lvalue required as unary '&' operand
    t++;
 ^
0_0_33173947_19102.c:16:8: error: stray '#' in program
    t++;
        ^
0_0_33173947_19102.c:16:7: error: lvalue required as unary '&' operand
    t++;
       ^
0_0_33173947_19102.c:16:14: error: stray '#' in program
    t++;
              ^
0_0_33173947_19102.c:16:13: error: lvalue required as unary '&' operand
    t++;
             ^
0_0_33173947_19102.c:17:2: error: stray '#' in program
   printf("%d\n",t/2);
  ^
0_0_33173947_19102.c:17:1: error: lvalue required as unary '&' operand
   printf("%d\n",t/2);
 ^
0_0_33173947_19102.c:17:8: error: stray '#' in program
   printf("%d\n",t/2);
        ^
0_0_33173947_19102.c:17:7: error: lvalue required as unary '&' operand
   printf("%d\n",t/2);
       ^
0_0_33173947_19102.c:18:2: error: stray '#' in program
  }
  ^
0_0_33173947_19102.c:18:1: error: lvalue required as unary '&' operand
  }
 ^
0_0_33173947_19102.c:19:2: error: stray '#' in program
  return 0;
  ^
0_0_33173947_19102.c:19:1: error: lvalue required as unary '&' operand
  return 0;
 ^


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 15:34:17, Gzip enabled