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_27252308_3525.cpp:6:2: error: stray '#' in program
         for(i=3;i<=50;i++)
  ^
0_0_27252308_3525.cpp:6:9: error: stray '#' in program
         for(i=3;i<=50;i++)
         ^
0_0_27252308_3525.cpp:6:16: error: stray '#' in program
         for(i=3;i<=50;i++)
                ^
0_0_27252308_3525.cpp:6:23: error: stray '#' in program
         for(i=3;i<=50;i++)
                       ^
0_0_27252308_3525.cpp:7:2: error: stray '#' in program
    sum[i]=sum[i-1]+sum[i-2];
  ^
0_0_27252308_3525.cpp:7:9: error: stray '#' in program
    sum[i]=sum[i-1]+sum[i-2];
         ^
0_0_27252308_3525.cpp:9:2: error: stray '#' in program
    printf("%lld\n",sum[n]);
  ^
0_0_27252308_3525.cpp:9:9: error: stray '#' in program
    printf("%lld\n",sum[n]);
         ^
0_0_27252308_3525.cpp: In function 'int main()':
0_0_27252308_3525.cpp:4:1: error: '_int64' was not declared in this scope
 _int64 sum[51]={0,1,2};
 ^
0_0_27252308_3525.cpp:6:3: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
   ^
0_0_27252308_3525.cpp:6:10: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
          ^
0_0_27252308_3525.cpp:6:17: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
                 ^
0_0_27252308_3525.cpp:6:24: error: lvalue required as unary '&' operand
         for(i=3;i<=50;i++)
                        ^
0_0_27252308_3525.cpp:7:3: error: lvalue required as unary '&' operand
    sum[i]=sum[i-1]+sum[i-2];
   ^
0_0_27252308_3525.cpp:7:10: error: lvalue required as unary '&' operand
    sum[i]=sum[i-1]+sum[i-2];
          ^
0_0_27252308_3525.cpp:7:14: error: 'sum' was not declared in this scope
    sum[i]=sum[i-1]+sum[i-2];
              ^
0_0_27252308_3525.cpp:9:3: error: lvalue required as unary '&' operand
    printf("%lld\n",sum[n]);
   ^
0_0_27252308_3525.cpp:9:10: error: lvalue required as unary '&' operand
    printf("%lld\n",sum[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:17:44, Gzip enabled