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_20029750_24707.cpp:4:2: error: stray '#' in program
     int n,j;
  ^
0_0_20029750_24707.cpp:4:8: error: stray '#' in program
     int n,j;
        ^
0_0_20029750_24707.cpp:4:14: error: stray '#' in program
     int n,j;
              ^
0_0_20029750_24707.cpp:5:2: error: stray '#' in program
     int a[60];
  ^
0_0_20029750_24707.cpp:5:8: error: stray '#' in program
     int a[60];
        ^
0_0_20029750_24707.cpp:5:14: error: stray '#' in program
     int a[60];
              ^
0_0_20029750_24707.cpp:6:2: error: stray '#' in program
     while(scanf("%d",&n)!=EOF)
  ^
0_0_20029750_24707.cpp:6:8: error: stray '#' in program
     while(scanf("%d",&n)!=EOF)
        ^
0_0_20029750_24707.cpp:6:14: error: stray '#' in program
     while(scanf("%d",&n)!=EOF)
              ^
0_0_20029750_24707.cpp:7:2: error: stray '#' in program
     {
  ^
0_0_20029750_24707.cpp:7:8: error: stray '#' in program
     {
        ^
0_0_20029750_24707.cpp:7:14: error: stray '#' in program
     {
              ^
0_0_20029750_24707.cpp:8:2: error: stray '#' in program
         a[1]=1;
  ^
0_0_20029750_24707.cpp:8:8: error: stray '#' in program
         a[1]=1;
        ^
0_0_20029750_24707.cpp:8:14: error: stray '#' in program
         a[1]=1;
              ^
0_0_20029750_24707.cpp:8:20: error: stray '#' in program
         a[1]=1;
                    ^
0_0_20029750_24707.cpp:8:26: error: stray '#' in program
         a[1]=1;
                          ^
0_0_20029750_24707.cpp:8:32: error: stray '#' in program
         a[1]=1;
                                ^
0_0_20029750_24707.cpp:8:38: error: stray '#' in program
         a[1]=1;
                                      ^
0_0_20029750_24707.cpp:9:2: error: stray '#' in program
         a[2]=2;
  ^
0_0_20029750_24707.cpp:9:8: error: stray '#' in program
         a[2]=2;
        ^
0_0_20029750_24707.cpp:9:14: error: stray '#' in program
         a[2]=2;
              ^
0_0_20029750_24707.cpp:9:20: error: stray '#' in program
         a[2]=2;
                    ^
0_0_20029750_24707.cpp:9:26: error: stray '#' in program
         a[2]=2;
                          ^
0_0_20029750_24707.cpp:9:32: error: stray '#' in program
         a[2]=2;
                                ^
0_0_20029750_24707.cpp:9:38: error: stray '#' in program
         a[2]=2;
                                      ^
0_0_20029750_24707.cpp:10:2: error: stray '#' in program
         for(j=3;j<=n;j++)
  ^
0_0_20029750_24707.cpp:10:8: error: stray '#' in program
         for(j=3;j<=n;j++)
        ^
0_0_20029750_24707.cpp:10:14: error: stray '#' in program
         for(j=3;j<=n;j++)
              ^
0_0_20029750_24707.cpp:10:20: error: stray '#' in program
         for(j=3;j<=n;j++)
                    ^
0_0_20029750_24707.cpp:10:26: error: stray '#' in program
         for(j=3;j<=n;j++)
                          ^
0_0_20029750_24707.cpp:10:32: error: stray '#' in program
         for(j=3;j<=n;j++)
                                ^
0_0_20029750_24707.cpp:10:38: error: stray '#' in program
         for(j=3;j<=n;j++)
                                      ^
0_0_20029750_24707.cpp:11:2: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
  ^
0_0_20029750_24707.cpp:11:8: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
        ^
0_0_20029750_24707.cpp:11:14: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
              ^
0_0_20029750_24707.cpp:11:20: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                    ^
0_0_20029750_24707.cpp:11:26: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                          ^
0_0_20029750_24707.cpp:11:32: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                                ^
0_0_20029750_24707.cpp:11:38: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                                      ^
0_0_20029750_24707.cpp:11:44: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                                            ^
0_0_20029750_24707.cpp:11:50: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                                                  ^
0_0_20029750_24707.cpp:11:56: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                                                        ^
0_0_20029750_24707.cpp:11:62: error: stray '#' in program
             a[j]=a[j-1]+a[j-2];
                                                              ^
0_0_20029750_24707.cpp:12:2: error: stray '#' in program
         printf("%d/n",a[n]);
  ^
0_0_20029750_24707.cpp:12:8: error: stray '#' in program
         printf("%d/n",a[n]);
        ^
0_0_20029750_24707.cpp:12:14: error: stray '#' in program
         printf("%d/n",a[n]);
              ^
0_0_20029750_24707.cpp:12:20: error: stray '#' in program
         printf("%d/n",a[n]);
                    ^
0_0_20029750_24707.cpp:12:26: error: stray '#' in program
         printf("%d/n",a[n]);
                          ^
0_0_20029750_24707.cpp:12:32: error: stray '#' in program
         printf("%d/n",a[n]);
                                ^
0_0_20029750_24707.cpp:12:38: error: stray '#' in program
         printf("%d/n",a[n]);
                                      ^
0_0_20029750_24707.cpp:13:2: error: stray '#' in program
     }
  ^
0_0_20029750_24707.cpp:13:8: error: stray '#' in program
     }
        ^
0_0_20029750_24707.cpp:13:14: error: stray '#' in program
     }
              ^
0_0_20029750_24707.cpp: In function 'int main()':
0_0_20029750_24707.cpp:4:3: error: lvalue required as unary '&' operand
     int n,j;
   ^
0_0_20029750_24707.cpp:4:9: error: lvalue required as unary '&' operand
     int n,j;
         ^
0_0_20029750_24707.cpp:4:15: error: lvalue required as unary '&' operand
     int n,j;
               ^
0_0_20029750_24707.cpp:5:3: error: lvalue required as unary '&' operand
     int a[60];
   ^
0_0_20029750_24707.cpp:5:9: error: lvalue required as unary '&' operand
     int a[60];
         ^
0_0_20029750_24707.cpp:5:15: error: lvalue required as unary '&' operand
     int a[60];
               ^
0_0_20029750_24707.cpp:6:3: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF)
   ^
0_0_20029750_24707.cpp:6:9: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF)
         ^
0_0_20029750_24707.cpp:6:15: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF)
               ^
0_0_20029750_24707.cpp:7:3: error: lvalue required as unary '&' operand
     {
   ^
0_0_20029750_24707.cpp:7:9: error: lvalue required as unary '&' operand
     {
         ^
0_0_20029750_24707.cpp:7:15: error: lvalue required as unary '&' operand
     {
               ^
0_0_20029750_24707.cpp:8:3: error: lvalue required as unary '&' operand
         a[1]=1;
   ^
0_0_20029750_24707.cpp:8:9: error: lvalue required as unary '&' operand
         a[1]=1;
         ^
0_0_20029750_24707.cpp:8:15: error: lvalue required as unary '&' operand
         a[1]=1;
               ^
0_0_20029750_24707.cpp:8:21: error: lvalue required as unary '&' operand
         a[1]=1;
                     ^
0_0_20029750_24707.cpp:8:27: error: lvalue required as unary '&' operand
         a[1]=1;
                           ^
0_0_20029750_24707.cpp:8:33: erro


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-15 11:56:42, Gzip enabled