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_28226985_17812.cpp:2:1: error: '_int64' does not name a type
 _int64 C_n_m(int n,int m)
 ^
0_0_28226985_17812.cpp: In function 'int main()':
0_0_28226985_17812.cpp:15:5: error: '_int64' was not declared in this scope
     _int64 sum,a[14]={1,0,1,2};
     ^
0_0_28226985_17812.cpp:17:9: error: 'a' was not declared in this scope
         a[i]=(i-1)*(a[i-1]+a[i-2]);
         ^
0_0_28226985_17812.cpp:20:13: error: 'sum' was not declared in this scope
         for(sum=0,i=0;i<=n/2;i++)
             ^
0_0_28226985_17812.cpp:21:27: error: 'C_n_m' was not declared in this scope
             sum+=C_n_m(n,i)*a[i];
                           ^
0_0_28226985_17812.cpp:21:29: error: 'a' was not declared in this scope
             sum+=C_n_m(n,i)*a[i];
                             ^
0_0_28226985_17812.cpp:22:26: error: 'sum' was not declared in this scope
         printf("%I64d\n",sum);
                          ^


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-07-03 09:10:00, Gzip enabled