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_16981662_648.cpp:1:56: error: stray '#' in program
 <span style="font-family:KaiTi_GB2312;font-size:18px;"># include <stdio.h>
                                                        ^
0_0_16981662_648.cpp:1:1: error: expected unqualified-id before '<' token
 <span style="font-family:KaiTi_GB2312;font-size:18px;"># include <stdio.h>
 ^
0_0_16981662_648.cpp: In function 'int main()':
0_0_16981662_648.cpp:11:10: error: 'dp' was not declared in this scope
          dp[i] = 2*dp[i-1]+dp[i-2] ;
          ^
0_0_16981662_648.cpp:12:21: error: 'scanf' was not declared in this scope
      scanf ("%d", &T) ;
                     ^
0_0_16981662_648.cpp:16:29: error: 'dp' was not declared in this scope
          printf ("%I64d\n", dp[n]) ;
                             ^
0_0_16981662_648.cpp:16:34: error: 'printf' was not declared in this scope
          printf ("%I64d\n", dp[n]) ;
                                  ^
0_0_16981662_648.cpp: At global scope:
0_0_16981662_648.cpp:19:3: error: expected unqualified-id before '<' token
  }</span>
   ^


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-09-28 23:37:56, Gzip enabled