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_27252305_8856.cpp:6:2: error: stray '#' in program
         for(i=3;i<=50;i++)
  ^
0_0_27252305_8856.cpp:6:9: error: stray '#' in program
         for(i=3;i<=50;i++)
         ^
0_0_27252305_8856.cpp:6:16: error: stray '#' in program
         for(i=3;i<=50;i++)
                ^
0_0_27252305_8856.cpp:6:23: error: stray '#' in program
         for(i=3;i<=50;i++)
                       ^
0_0_27252305_8856.cpp:7:2: error: stray '#' in program
    a[i]=a[i-1]+a[i-2];
  ^
0_0_27252305_8856.cpp:7:9: error: stray '#' in program
    a[i]=a[i-1]+a[i-2];
         ^
0_0_27252305_8856.cpp:9:2: error: stray '#' in program
    printf("%lld\n",a[n]);
  ^
0_0_27252305_8856.cpp:9:9: error: stray '#' in program
    printf("%lld\n",a[n]);
         ^
0_0_27252305_8856.cpp: In function 'int main()':
0_0_27252305_8856.cpp:6:3: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
   ^
0_0_27252305_8856.cpp:6:10: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
          ^
0_0_27252305_8856.cpp:6:17: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
                 ^
0_0_27252305_8856.cpp:6:24: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
                        ^
0_0_27252305_8856.cpp:7:3: error: lvalue required as unary '&' operand
    a[i]=a[i-1]+a[i-2];
   ^
0_0_27252305_8856.cpp:7:10: error: lvalue required as unary '&' operand
    a[i]=a[i-1]+a[i-2];
          ^
0_0_27252305_8856.cpp:9:3: error: lvalue required as unary '&' operand
    printf("%lld\n",a[n]);
   ^
0_0_27252305_8856.cpp:9:10: error: lvalue required as unary '&' operand
    printf("%lld\n",a[n]);
          ^


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-17 08:26:08, Gzip enabled