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_27257564_17707.cpp:9:2: error: stray '#' in program
     dp[0]=1;
  ^
0_0_27257564_17707.cpp:9:9: error: stray '#' in program
     dp[0]=1;
         ^
0_0_27257564_17707.cpp:10:2: error: stray '#' in program
     dp[1]=1;
  ^
0_0_27257564_17707.cpp:10:9: error: stray '#' in program
     dp[1]=1;
         ^
0_0_27257564_17707.cpp:11:2: error: stray '#' in program
     for(int i=2;i<N;i++){
  ^
0_0_27257564_17707.cpp:11:9: error: stray '#' in program
     for(int i=2;i<N;i++){
         ^
0_0_27257564_17707.cpp:12:2: error: stray '#' in program
         dp[i]=dp[i-1]+dp[i-2];
  ^
0_0_27257564_17707.cpp:12:9: error: stray '#' in program
         dp[i]=dp[i-1]+dp[i-2];
         ^
0_0_27257564_17707.cpp:12:16: error: stray '#' in program
         dp[i]=dp[i-1]+dp[i-2];
                ^
0_0_27257564_17707.cpp:12:23: error: stray '#' in program
         dp[i]=dp[i-1]+dp[i-2];
                       ^
0_0_27257564_17707.cpp:13:2: error: stray '#' in program
     }
  ^
0_0_27257564_17707.cpp:13:9: error: stray '#' in program
     }
         ^
0_0_27257564_17707.cpp:14:2: error: stray '#' in program
     int n;
  ^
0_0_27257564_17707.cpp:14:9: error: stray '#' in program
     int n;
         ^
0_0_27257564_17707.cpp:15:2: error: stray '#' in program
     while(scanf("%d",&n)!=EOF){
  ^
0_0_27257564_17707.cpp:15:9: error: stray '#' in program
     while(scanf("%d",&n)!=EOF){
         ^
0_0_27257564_17707.cpp:16:2: error: stray '#' in program
         printf("%lld\n",dp[n]);
  ^
0_0_27257564_17707.cpp:16:9: error: stray '#' in program
         printf("%lld\n",dp[n]);
         ^
0_0_27257564_17707.cpp:16:16: error: stray '#' in program
         printf("%lld\n",dp[n]);
                ^
0_0_27257564_17707.cpp:16:23: error: stray '#' in program
         printf("%lld\n",dp[n]);
                       ^
0_0_27257564_17707.cpp:17:2: error: stray '#' in program
     }
  ^
0_0_27257564_17707.cpp:17:9: error: stray '#' in program
     }
         ^
0_0_27257564_17707.cpp:18:2: error: stray '#' in program
     return 0;
  ^
0_0_27257564_17707.cpp:18:9: error: stray '#' in program
     return 0;
         ^
0_0_27257564_17707.cpp: In function 'int main()':
0_0_27257564_17707.cpp:9:3: error: lvalue required as unary '&' operand
     dp[0]=1;
   ^
0_0_27257564_17707.cpp:9:10: error: lvalue required as unary '&' operand
     dp[0]=1;
          ^
0_0_27257564_17707.cpp:10:3: error: lvalue required as unary '&' operand
     dp[1]=1;
   ^
0_0_27257564_17707.cpp:10:10: error: lvalue required as unary '&' operand
     dp[1]=1;
          ^
0_0_27257564_17707.cpp:11:3: error: lvalue required as unary '&' operand
     for(int i=2;i<N;i++){
   ^
0_0_27257564_17707.cpp:11:10: error: lvalue required as unary '&' operand
     for(int i=2;i<N;i++){
          ^
0_0_27257564_17707.cpp:12:3: error: lvalue required as unary '&' operand
         dp[i]=dp[i-1]+dp[i-2];
   ^
0_0_27257564_17707.cpp:12:10: error: lvalue required as unary '&' operand
         dp[i]=dp[i-1]+dp[i-2];
          ^
0_0_27257564_17707.cpp:12:17: error: lvalue required as unary '&' operand
         dp[i]=dp[i-1]+dp[i-2];
                 ^
0_0_27257564_17707.cpp:12:24: error: lvalue required as unary '&' operand
         dp[i]=dp[i-1]+dp[i-2];
                        ^
0_0_27257564_17707.cpp:13:3: error: lvalue required as unary '&' operand
     }
   ^
0_0_27257564_17707.cpp:13:10: error: lvalue required as unary '&' operand
     }
          ^
0_0_27257564_17707.cpp:14:3: error: lvalue required as unary '&' operand
     int n;
   ^
0_0_27257564_17707.cpp:14:10: error: lvalue required as unary '&' operand
     int n;
          ^
0_0_27257564_17707.cpp:15:3: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF){
   ^
0_0_27257564_17707.cpp:15:10: error: lvalue required as unary '&' operand
     while(scanf("%d",&n)!=EOF){
          ^
0_0_27257564_17707.cpp:16:3: error: lvalue required as unary '&' operand
         printf("%lld\n",dp[n]);
   ^
0_0_27257564_17707.cpp:16:10: error: lvalue required as unary '&' operand
         printf("%lld\n",dp[n]);
          ^
0_0_27257564_17707.cpp:16:17: error: lvalue required as unary '&' operand
         printf("%lld\n",dp[n]);
                 ^
0_0_27257564_17707.cpp:16:24: error: lvalue required as unary '&' operand
         printf("%lld\n",dp[n]);
                        ^
0_0_27257564_17707.cpp:17:3: error: lvalue required as unary '&' operand
     }
   ^
0_0_27257564_17707.cpp:17:10: error: lvalue required as unary '&' operand
     }
          ^
0_0_27257564_17707.cpp:18:3: error: lvalue required as unary '&' operand
     return 0;
   ^
0_0_27257564_17707.cpp:18:10: 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-17 00:51:35, Gzip enabled