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_31002913_19834.cpp:7:2: error: stray '#' in program
     a[1] = 1,a[2] = 2,a[3] = 3;
  ^
0_0_31002913_19834.cpp:7:8: error: stray '#' in program
     a[1] = 1,a[2] = 2,a[3] = 3;
        ^
0_0_31002913_19834.cpp:7:15: error: stray '#' in program
     a[1] = 1,a[2] = 2,a[3] = 3;
               ^
0_0_31002913_19834.cpp:8:2: error: stray '#' in program
     for (int i = 4 ;i < 70;i ++)
  ^
0_0_31002913_19834.cpp:8:8: error: stray '#' in program
     for (int i = 4 ;i < 70;i ++)
        ^
0_0_31002913_19834.cpp:8:15: error: stray '#' in program
     for (int i = 4 ;i < 70;i ++)
               ^
0_0_31002913_19834.cpp:9:2: error: stray '#' in program
         a[i] = a[i - 1] + a[i - 3];
  ^
0_0_31002913_19834.cpp:9:8: error: stray '#' in program
         a[i] = a[i - 1] + a[i - 3];
        ^
0_0_31002913_19834.cpp:9:15: error: stray '#' in program
         a[i] = a[i - 1] + a[i - 3];
               ^
0_0_31002913_19834.cpp:9:21: error: stray '#' in program
         a[i] = a[i - 1] + a[i - 3];
                     ^
0_0_31002913_19834.cpp:9:27: error: stray '#' in program
         a[i] = a[i - 1] + a[i - 3];
                           ^
0_0_31002913_19834.cpp:9:34: error: stray '#' in program
         a[i] = a[i - 1] + a[i - 3];
                                  ^
0_0_31002913_19834.cpp:13:2: error: stray '#' in program
     init();
  ^
0_0_31002913_19834.cpp:13:8: error: stray '#' in program
     init();
        ^
0_0_31002913_19834.cpp:13:15: error: stray '#' in program
     init();
               ^
0_0_31002913_19834.cpp:14:2: error: stray '#' in program
     int n;
  ^
0_0_31002913_19834.cpp:14:8: error: stray '#' in program
     int n;
        ^
0_0_31002913_19834.cpp:14:15: error: stray '#' in program
     int n;
               ^
0_0_31002913_19834.cpp:15:2: error: stray '#' in program
     while (~scanf("%d",&n) && n)
  ^
0_0_31002913_19834.cpp:15:8: error: stray '#' in program
     while (~scanf("%d",&n) && n)
        ^
0_0_31002913_19834.cpp:15:15: error: stray '#' in program
     while (~scanf("%d",&n) && n)
               ^
0_0_31002913_19834.cpp:16:2: error: stray '#' in program
     {
  ^
0_0_31002913_19834.cpp:16:8: error: stray '#' in program
     {
        ^
0_0_31002913_19834.cpp:16:15: error: stray '#' in program
     {
               ^
0_0_31002913_19834.cpp:17:2: error: stray '#' in program
         printf("%d\n",a[n]);
  ^
0_0_31002913_19834.cpp:17:8: error: stray '#' in program
         printf("%d\n",a[n]);
        ^
0_0_31002913_19834.cpp:17:15: error: stray '#' in program
         printf("%d\n",a[n]);
               ^
0_0_31002913_19834.cpp:17:21: error: stray '#' in program
         printf("%d\n",a[n]);
                     ^
0_0_31002913_19834.cpp:17:27: error: stray '#' in program
         printf("%d\n",a[n]);
                           ^
0_0_31002913_19834.cpp:17:34: error: stray '#' in program
         printf("%d\n",a[n]);
                                  ^
0_0_31002913_19834.cpp:18:2: error: stray '#' in program
     }
  ^
0_0_31002913_19834.cpp:18:8: error: stray '#' in program
     }
        ^
0_0_31002913_19834.cpp:18:15: error: stray '#' in program
     }
               ^
0_0_31002913_19834.cpp:19:2: error: stray '#' in program
     return 0;
  ^
0_0_31002913_19834.cpp:19:8: error: stray '#' in program
     return 0;
        ^
0_0_31002913_19834.cpp:19:15: error: stray '#' in program
     return 0;
               ^
0_0_31002913_19834.cpp: In function 'void init()':
0_0_31002913_19834.cpp:7:3: error: lvalue required as unary '&' operand
     a[1] = 1,a[2] = 2,a[3] = 3;
   ^
0_0_31002913_19834.cpp:7:9: error: lvalue required as unary '&' operand
     a[1] = 1,a[2] = 2,a[3] = 3;
         ^
0_0_31002913_19834.cpp:7:16: error: lvalue required as unary '&' operand
     a[1] = 1,a[2] = 2,a[3] = 3;
                ^
0_0_31002913_19834.cpp:8:3: error: lvalue required as unary '&' operand
     for (int i = 4 ;i < 70;i ++)
   ^
0_0_31002913_19834.cpp:8:9: error: lvalue required as unary '&' operand
     for (int i = 4 ;i < 70;i ++)
         ^
0_0_31002913_19834.cpp:8:16: error: lvalue required as unary '&' operand
     for (int i = 4 ;i < 70;i ++)
                ^
0_0_31002913_19834.cpp:9:3: error: lvalue required as unary '&' operand
         a[i] = a[i - 1] + a[i - 3];
   ^
0_0_31002913_19834.cpp:9:9: error: lvalue required as unary '&' operand
         a[i] = a[i - 1] + a[i - 3];
         ^
0_0_31002913_19834.cpp:9:16: error: lvalue required as unary '&' operand
         a[i] = a[i - 1] + a[i - 3];
                ^
0_0_31002913_19834.cpp:9:22: error: lvalue required as unary '&' operand
         a[i] = a[i - 1] + a[i - 3];
                      ^
0_0_31002913_19834.cpp:9:28: error: lvalue required as unary '&' operand
         a[i] = a[i - 1] + a[i - 3];
                            ^
0_0_31002913_19834.cpp:9:35: error: lvalue required as unary '&' operand
         a[i] = a[i - 1] + a[i - 3];
                                   ^
0_0_31002913_19834.cpp:9:41: error: 'i' was not declared in this scope
         a[i] = a[i - 1] + a[i - 3];
                                         ^
0_0_31002913_19834.cpp: In function 'int main()':
0_0_31002913_19834.cpp:13:3: error: lvalue required as unary '&' operand
     init();
   ^
0_0_31002913_19834.cpp:13:9: error: lvalue required as unary '&' operand
     init();
         ^
0_0_31002913_19834.cpp:13:16: error: lvalue required as unary '&' operand
     init();
                ^
0_0_31002913_19834.cpp:14:3: error: lvalue required as unary '&' operand
     int n;
   ^
0_0_31002913_19834.cpp:14:9: error: lvalue required as unary '&' operand
     int n;
         ^
0_0_31002913_19834.cpp:14:16: error: lvalue required as unary '&' operand
     int n;
                ^
0_0_31002913_19834.cpp:15:3: error: lvalue required as unary '&' operand
     while (~scanf("%d",&n) && n)
   ^
0_0_31002913_19834.cpp:15:9: error: lvalue required as unary '&' operand
     while (~scanf("%d",&n) && n)
         ^
0_0_31002913_19834.cpp:15:16: error: lvalue required as unary '&' operand
     while (~scanf("%d",&n) && n)
                ^
0_0_31002913_19834.cpp:16:3: error: lvalue required as unary '&' operand
     {
   ^
0_0_31002913_19834.cpp:16:9: error: lvalue required as unary '&' operand
     {
         ^
0_0_31002913_19834.cpp:16:16: error: lvalue required as unary '&' operand
     {
                ^
0_0_31002913_19834.cpp:17:3: error: lvalue required as unary '&' operand
         printf("%d\n",a[n]);
   ^
0_0_31002913_19834.cpp:17:9: error: lvalue required as unary '&' operand
         printf("%d\n",a[n]);
         ^
0_0_31002913_19834.cpp:17:16: error: lvalue required as unary '&' operand
         printf("%d\n",a[n]);
                ^
0_0_31002913_19834.cpp:17:22: error: lvalue required as unary '&' operand
         printf("%d\n",a[n]);
                      ^
0_0_31002913_19834.cpp:17:28: error: lvalue required as unary '&' operand
         printf("%d\n",a[n]);
                            ^
0_0_31002913_19834.cpp:17:35: error: lvalue required as unary '&' operand
         printf("%d\n",a[n]);
                                   ^
0_0_31002913_19834.cpp:18:3: error: lvalue required as unary '&' operand
     }
   ^
0_0_31002913_19834.cpp:18:9: error: lvalue required as unary '&' operand
     }
         ^
0_0_31002913_19834.cpp:18:16: error: lvalue required as unary '&' operand
     }
                ^
0_0_31002913_19834.cpp:19:3: error: lvalue required as unary '&' operand
     return 0;
   ^
0_0_31002913_19834.cpp:19:9: error: lvalue required as unary '&' operand
     return 0;
         ^
0_0_31002913_19834.cpp:19:16: 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-30 03:33:29, Gzip enabled