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_29388825_13662.cpp:7:2: error: stray '#' in program
   int n,u,d,t,c;
  ^
0_0_29388825_13662.cpp:9:2: error: stray '#' in program
   while(scanf("%d%d%d",&n,&u,&d)!=EOF){
  ^
0_0_29388825_13662.cpp:11:2: error: stray '#' in program
      if(n==0)
  ^
0_0_29388825_13662.cpp:11:8: error: stray '#' in program
      if(n==0)
        ^
0_0_29388825_13662.cpp:11:14: error: stray '#' in program
      if(n==0)
              ^
0_0_29388825_13662.cpp:11:20: error: stray '#' in program
      if(n==0)
                    ^
0_0_29388825_13662.cpp:13:2: error: stray '#' in program
      break;
  ^
0_0_29388825_13662.cpp:13:8: error: stray '#' in program
      break;
        ^
0_0_29388825_13662.cpp:13:14: error: stray '#' in program
      break;
              ^
0_0_29388825_13662.cpp:13:20: error: stray '#' in program
      break;
                    ^
0_0_29388825_13662.cpp:15:2: error: stray '#' in program
      if(u>=n)    printf("1\n");
  ^
0_0_29388825_13662.cpp:15:8: error: stray '#' in program
      if(u>=n)    printf("1\n");
        ^
0_0_29388825_13662.cpp:15:14: error: stray '#' in program
      if(u>=n)    printf("1\n");
              ^
0_0_29388825_13662.cpp:15:20: error: stray '#' in program
      if(u>=n)    printf("1\n");
                    ^
0_0_29388825_13662.cpp:15:35: error: stray '#' in program
      if(u>=n)    printf("1\n");
                                   ^
0_0_29388825_13662.cpp:15:41: error: stray '#' in program
      if(u>=n)    printf("1\n");
                                         ^
0_0_29388825_13662.cpp:15:47: error: stray '#' in program
      if(u>=n)    printf("1\n");
                                               ^
0_0_29388825_13662.cpp:17:2: error: stray '#' in program
      else{
  ^
0_0_29388825_13662.cpp:17:8: error: stray '#' in program
      else{
        ^
0_0_29388825_13662.cpp:17:14: error: stray '#' in program
      else{
              ^
0_0_29388825_13662.cpp:17:20: error: stray '#' in program
      else{
                    ^
0_0_29388825_13662.cpp:20:2: error: stray '#' in program
         c=(n-u)/(u-d)+1;
  ^
0_0_29388825_13662.cpp:20:8: error: stray '#' in program
         c=(n-u)/(u-d)+1;
        ^
0_0_29388825_13662.cpp:20:14: error: stray '#' in program
         c=(n-u)/(u-d)+1;
              ^
0_0_29388825_13662.cpp:20:20: error: stray '#' in program
         c=(n-u)/(u-d)+1;
                    ^
0_0_29388825_13662.cpp:20:26: error: stray '#' in program
         c=(n-u)/(u-d)+1;
                          ^
0_0_29388825_13662.cpp:20:32: error: stray '#' in program
         c=(n-u)/(u-d)+1;
                                ^
0_0_29388825_13662.cpp:20:38: error: stray '#' in program
         c=(n-u)/(u-d)+1;
                                      ^
0_0_29388825_13662.cpp:22:2: error: stray '#' in program
         else c=(n-u)/(u-d);
  ^
0_0_29388825_13662.cpp:22:8: error: stray '#' in program
         else c=(n-u)/(u-d);
        ^
0_0_29388825_13662.cpp:22:14: error: stray '#' in program
         else c=(n-u)/(u-d);
              ^
0_0_29388825_13662.cpp:22:20: error: stray '#' in program
         else c=(n-u)/(u-d);
                    ^
0_0_29388825_13662.cpp:22:26: error: stray '#' in program
         else c=(n-u)/(u-d);
                          ^
0_0_29388825_13662.cpp:22:32: error: stray '#' in program
         else c=(n-u)/(u-d);
                                ^
0_0_29388825_13662.cpp:22:38: error: stray '#' in program
         else c=(n-u)/(u-d);
                                      ^
0_0_29388825_13662.cpp:24:2: error: stray '#' in program
         t=c*2+1;
  ^
0_0_29388825_13662.cpp:24:8: error: stray '#' in program
         t=c*2+1;
        ^
0_0_29388825_13662.cpp:24:14: error: stray '#' in program
         t=c*2+1;
              ^
0_0_29388825_13662.cpp:24:20: error: stray '#' in program
         t=c*2+1;
                    ^
0_0_29388825_13662.cpp:24:26: error: stray '#' in program
         t=c*2+1;
                          ^
0_0_29388825_13662.cpp:24:32: error: stray '#' in program
         t=c*2+1;
                                ^
0_0_29388825_13662.cpp:24:38: error: stray '#' in program
         t=c*2+1;
                                      ^
0_0_29388825_13662.cpp:26:2: error: stray '#' in program
         printf("%d\n",t);
  ^
0_0_29388825_13662.cpp:26:8: error: stray '#' in program
         printf("%d\n",t);
        ^
0_0_29388825_13662.cpp:26:14: error: stray '#' in program
         printf("%d\n",t);
              ^
0_0_29388825_13662.cpp:26:20: error: stray '#' in program
         printf("%d\n",t);
                    ^
0_0_29388825_13662.cpp:26:26: error: stray '#' in program
         printf("%d\n",t);
                          ^
0_0_29388825_13662.cpp:26:32: error: stray '#' in program
         printf("%d\n",t);
                                ^
0_0_29388825_13662.cpp:26:38: error: stray '#' in program
         printf("%d\n",t);
                                      ^
0_0_29388825_13662.cpp:28:2: error: stray '#' in program
      }
  ^
0_0_29388825_13662.cpp:28:8: error: stray '#' in program
      }
        ^
0_0_29388825_13662.cpp:28:14: error: stray '#' in program
      }
              ^
0_0_29388825_13662.cpp:28:20: error: stray '#' in program
      }
                    ^
0_0_29388825_13662.cpp:30:2: error: stray '#' in program
   }
  ^
0_0_29388825_13662.cpp: In function 'int main()':
0_0_29388825_13662.cpp:7:3: error: lvalue required as unary '&' operand
   int n,u,d,t,c;
   ^
0_0_29388825_13662.cpp:9:3: error: lvalue required as unary '&' operand
   while(scanf("%d%d%d",&n,&u,&d)!=EOF){
   ^
0_0_29388825_13662.cpp:11:3: error: lvalue required as unary '&' operand
      if(n==0)
   ^
0_0_29388825_13662.cpp:11:9: error: lvalue required as unary '&' operand
      if(n==0)
         ^
0_0_29388825_13662.cpp:11:15: error: lvalue required as unary '&' operand
      if(n==0)
               ^
0_0_29388825_13662.cpp:11:21: error: lvalue required as unary '&' operand
      if(n==0)
                     ^
0_0_29388825_13662.cpp:13:3: error: lvalue required as unary '&' operand
      break;
   ^
0_0_29388825_13662.cpp:13:9: error: lvalue required as unary '&' operand
      break;
         ^
0_0_29388825_13662.cpp:13:15: error: lvalue required as unary '&' operand
      break;
               ^
0_0_29388825_13662.cpp:13:21: error: lvalue required as unary '&' operand
      break;
                     ^
0_0_29388825_13662.cpp:15:3: error: lvalue required as unary '&' operand
      if(u>=n)    printf("1\n");
   ^
0_0_29388825_13662.cpp:15:9: error: lvalue required as unary '&' operand
      if(u>=n)    printf("1\n");
         ^
0_0_29388825_13662.cpp:15:15: error: lvalue required as unary '&' operand
      if(u>=n)    printf("1\n");
               ^
0_0_29388825_13662.cpp:15:21: error: lvalue required as unary '&' operand
      if(u>=n)    printf("1\n");
                     ^
0_0_29388825_13662.cpp:15:36: error: lvalue required as unary '&' operand
      if(u>=n)    printf("1\n");
                                    ^
0_0_29388825_13662.cpp:15:42: error: lvalue required as unary '&' operand
      if(u>=n)    printf("1\n");
                                          ^
0_0_29388825_13662.cpp:15:48: error: lvalue required as unary '&' operand
      if(u>=n)    printf("1\n");
                                                ^
0_0_29388825_13662.cpp:17:3: error: lvalue required as unary '&' operand
      else{
   ^
0_0_29388825_13662.cpp:


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-16 17:45:03, Gzip enabled