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_29282025_10869.cpp:4:2: error: stray '#' in program
  int n;
  ^
0_0_29282025_10869.cpp:5:2: error: stray '#' in program
  scanf("%d",&n);
  ^
0_0_29282025_10869.cpp:6:2: error: stray '#' in program
  while(n--)
  ^
0_0_29282025_10869.cpp:7:2: error: stray '#' in program
  {
  ^
0_0_29282025_10869.cpp:8:2: error: stray '#' in program
   int i,j,a,b,c,sum=0;
  ^
0_0_29282025_10869.cpp:8:8: error: stray '#' in program
   int i,j,a,b,c,sum=0;
        ^
0_0_29282025_10869.cpp:9:2: error: stray '#' in program
   scanf("%d%d%d",&a,&b,&c);
  ^
0_0_29282025_10869.cpp:9:8: error: stray '#' in program
   scanf("%d%d%d",&a,&b,&c);
        ^
0_0_29282025_10869.cpp:10:2: error: stray '#' in program
   if(a>6)
  ^
0_0_29282025_10869.cpp:10:8: error: stray '#' in program
   if(a>6)
        ^
0_0_29282025_10869.cpp:11:2: error: stray '#' in program
   puts(b+(a-6)*(1+7)+27>=c?"Yes":"No");
  ^
0_0_29282025_10869.cpp:11:8: error: stray '#' in program
   puts(b+(a-6)*(1+7)+27>=c?"Yes":"No");
        ^
0_0_29282025_10869.cpp:12:2: error: stray '#' in program
   else
  ^
0_0_29282025_10869.cpp:12:8: error: stray '#' in program
   else
        ^
0_0_29282025_10869.cpp:13:2: error: stray '#' in program
   {
  ^
0_0_29282025_10869.cpp:13:8: error: stray '#' in program
   {
        ^
0_0_29282025_10869.cpp:14:2: error: stray '#' in program
    for(i=7,j=0;j<a;j++,i--)
  ^
0_0_29282025_10869.cpp:14:8: error: stray '#' in program
    for(i=7,j=0;j<a;j++,i--)
        ^
0_0_29282025_10869.cpp:14:14: error: stray '#' in program
    for(i=7,j=0;j<a;j++,i--)
              ^
0_0_29282025_10869.cpp:15:2: error: stray '#' in program
    
  ^
0_0_29282025_10869.cpp:15:8: error: stray '#' in program
    
        ^
0_0_29282025_10869.cpp:15:14: error: stray '#' in program
    
              ^
0_0_29282025_10869.cpp:16:2: error: stray '#' in program
     sum+=i;
  ^
0_0_29282025_10869.cpp:16:8: error: stray '#' in program
     sum+=i;
        ^
0_0_29282025_10869.cpp:16:14: error: stray '#' in program
     sum+=i;
              ^
0_0_29282025_10869.cpp:16:20: error: stray '#' in program
     sum+=i;
                    ^
0_0_29282025_10869.cpp:17:2: error: stray '#' in program
     puts(b+sum>=c?"Yes":"No");
  ^
0_0_29282025_10869.cpp:17:8: error: stray '#' in program
     puts(b+sum>=c?"Yes":"No");
        ^
0_0_29282025_10869.cpp:17:14: error: stray '#' in program
     puts(b+sum>=c?"Yes":"No");
              ^
0_0_29282025_10869.cpp:17:20: error: stray '#' in program
     puts(b+sum>=c?"Yes":"No");
                    ^
0_0_29282025_10869.cpp:18:2: error: stray '#' in program
    
  ^
0_0_29282025_10869.cpp:18:8: error: stray '#' in program
    
        ^
0_0_29282025_10869.cpp:18:14: error: stray '#' in program
    
              ^
0_0_29282025_10869.cpp:19:2: error: stray '#' in program
   }
  ^
0_0_29282025_10869.cpp:19:8: error: stray '#' in program
   }
        ^
0_0_29282025_10869.cpp:20:2: error: stray '#' in program
  }
  ^
0_0_29282025_10869.cpp:21:2: error: stray '#' in program
  return 0;
  ^
0_0_29282025_10869.cpp: In function 'int main()':
0_0_29282025_10869.cpp:4:3: error: lvalue required as unary '&' operand
  int n;
   ^
0_0_29282025_10869.cpp:5:3: error: lvalue required as unary '&' operand
  scanf("%d",&n);
   ^
0_0_29282025_10869.cpp:6:3: error: lvalue required as unary '&' operand
  while(n--)
   ^
0_0_29282025_10869.cpp:7:3: error: lvalue required as unary '&' operand
  {
   ^
0_0_29282025_10869.cpp:8:3: error: lvalue required as unary '&' operand
   int i,j,a,b,c,sum=0;
   ^
0_0_29282025_10869.cpp:8:9: error: lvalue required as unary '&' operand
   int i,j,a,b,c,sum=0;
         ^
0_0_29282025_10869.cpp:9:3: error: lvalue required as unary '&' operand
   scanf("%d%d%d",&a,&b,&c);
   ^
0_0_29282025_10869.cpp:9:9: error: lvalue required as unary '&' operand
   scanf("%d%d%d",&a,&b,&c);
         ^
0_0_29282025_10869.cpp:10:3: error: lvalue required as unary '&' operand
   if(a>6)
   ^
0_0_29282025_10869.cpp:10:9: error: lvalue required as unary '&' operand
   if(a>6)
         ^
0_0_29282025_10869.cpp:11:3: error: lvalue required as unary '&' operand
   puts(b+(a-6)*(1+7)+27>=c?"Yes":"No");
   ^
0_0_29282025_10869.cpp:11:9: error: lvalue required as unary '&' operand
   puts(b+(a-6)*(1+7)+27>=c?"Yes":"No");
         ^
0_0_29282025_10869.cpp:12:3: error: lvalue required as unary '&' operand
   else
   ^
0_0_29282025_10869.cpp:12:9: error: lvalue required as unary '&' operand
   else
         ^
0_0_29282025_10869.cpp:12:13: error: 'else' without a previous 'if'
   else
             ^
0_0_29282025_10869.cpp:13:3: error: lvalue required as unary '&' operand
   {
   ^
0_0_29282025_10869.cpp:13:9: error: lvalue required as unary '&' operand
   {
         ^
0_0_29282025_10869.cpp:14:3: error: lvalue required as unary '&' operand
    for(i=7,j=0;j<a;j++,i--)
   ^
0_0_29282025_10869.cpp:14:9: error: lvalue required as unary '&' operand
    for(i=7,j=0;j<a;j++,i--)
         ^
0_0_29282025_10869.cpp:14:15: error: lvalue required as unary '&' operand
    for(i=7,j=0;j<a;j++,i--)
               ^
0_0_29282025_10869.cpp:15:3: error: lvalue required as unary '&' operand
    
   ^
0_0_29282025_10869.cpp:15:9: error: lvalue required as unary '&' operand
    
         ^
0_0_29282025_10869.cpp:15:15: error: lvalue required as unary '&' operand
    
               ^
0_0_29282025_10869.cpp:16:3: error: lvalue required as unary '&' operand
     sum+=i;
   ^
0_0_29282025_10869.cpp:16:9: error: lvalue required as unary '&' operand
     sum+=i;
         ^
0_0_29282025_10869.cpp:16:15: error: lvalue required as unary '&' operand
     sum+=i;
               ^
0_0_29282025_10869.cpp:16:21: error: lvalue required as unary '&' operand
     sum+=i;
                     ^
0_0_29282025_10869.cpp:17:3: error: lvalue required as unary '&' operand
     puts(b+sum>=c?"Yes":"No");
   ^
0_0_29282025_10869.cpp:17:9: error: lvalue required as unary '&' operand
     puts(b+sum>=c?"Yes":"No");
         ^
0_0_29282025_10869.cpp:17:15: error: lvalue required as unary '&' operand
     puts(b+sum>=c?"Yes":"No");
               ^
0_0_29282025_10869.cpp:17:21: error: lvalue required as unary '&' operand
     puts(b+sum>=c?"Yes":"No");
                     ^
0_0_29282025_10869.cpp:18:3: error: lvalue required as unary '&' operand
    
   ^
0_0_29282025_10869.cpp:18:9: error: lvalue required as unary '&' operand
    
         ^
0_0_29282025_10869.cpp:18:15: error: lvalue required as unary '&' operand
    
               ^
0_0_29282025_10869.cpp:19:3: error: lvalue required as unary '&' operand
   }
   ^
0_0_29282025_10869.cpp:19:9: error: lvalue required as unary '&' operand
   }
         ^
0_0_29282025_10869.cpp:20:3: error: lvalue required as unary '&' operand
  }
   ^
0_0_29282025_10869.cpp:21:3: 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-18 22:34:00, Gzip enabled