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_23855751_612.cpp: In function 'int main()':
0_0_23855751_612.cpp:4:2: error: '__int64int' was not declared in this scope
  __int64int n,i,j,a[34]={1,3},b[34]={0,1}; 
  ^
0_0_23855751_612.cpp:4:30: error: expected primary-expression before ',' token
  __int64int n,i,j,a[34]={1,3},b[34]={0,1}; 
                              ^
0_0_23855751_612.cpp:4:31: error: 'b' was not declared in this scope
  __int64int n,i,j,a[34]={1,3},b[34]={0,1}; 
                               ^
0_0_23855751_612.cpp:5:23: error: 'n' was not declared in this scope
  while(~scanf("%lld",&n)&&n!=-1)
                       ^
0_0_23855751_612.cpp:8:8: error: 'i' was not declared in this scope
    for(i=2;i<=33;i++)
        ^
0_0_23855751_612.cpp:10:5: error: 'a' was not declared in this scope
     a[i]=3*a[i-1]+2*b[i-1];
     ^
0_0_23855751_612.cpp:13:25: error: 'a' was not declared in this scope
    printf("%lld,%lld\n",a[n],b[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-16 21:59:01, Gzip enabled