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_21699636_24474.cpp: In function 'int main()':
0_0_21699636_24474.cpp:6:2: error: '_int64' was not declared in this scope
  _int64 a[51]={0,3,6,6}; 
  ^
0_0_21699636_24474.cpp:8:3: error: 'a' was not declared in this scope
   a[i]=a[i-1]+2*a[i-2]; 
   ^
0_0_21699636_24474.cpp:10:20: error: 'a' was not declared in this scope
   printf("%I64d\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 22:33:47, Gzip enabled