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_20826427_5057.cpp: In function 'int main()':
0_0_20826427_5057.cpp:3:5: error: '_int64' was not declared in this scope
     _int64 a[20]={0,1,2};
     ^
0_0_20826427_5057.cpp:6:9: error: 'a' was not declared in this scope
         a[i]=i*(a[i-1]+a[i-2]);
         ^
0_0_20826427_5057.cpp:7:24: error: 'scanf' was not declared in this scope
     while(scanf("%d",&n)!=EOF)
                        ^
0_0_20826427_5057.cpp:7:27: error: 'EOF' was not declared in this scope
     while(scanf("%d",&n)!=EOF)
                           ^
0_0_20826427_5057.cpp:8:27: error: 'a' was not declared in this scope
          printf("%I64d\n",a[n-1]);
                           ^
0_0_20826427_5057.cpp:8:33: error: 'printf' was not declared in this scope
          printf("%I64d\n",a[n-1]);
                                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 21:11:21, Gzip enabled