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_35939730_5368.cpp: In function 'int main()':
0_0_35939730_5368.cpp:6:2: error: '_int64' was not declared in this scope
  _int64 ls[30]={0,0,1};
  ^
0_0_35939730_5368.cpp:7:9: error: expected ';' before 'gq'
  _int64 gq[30]={1,1,2};
         ^
0_0_35939730_5368.cpp:10:3: error: 'ls' was not declared in this scope
   ls[i]=(i-1)*(ls[i-1]+ls[i-2]);
   ^
0_0_35939730_5368.cpp:11:3: error: 'gq' was not declared in this scope
   gq[i]=gq[i-1]*i;
   ^
0_0_35939730_5368.cpp:16:10: error: expected ';' before 'sum'
   _int64 sum=0;
          ^
0_0_35939730_5368.cpp:23:3: error: 'sum' was not declared in this scope
   sum+=gq[n]/(gq[k]*gq[n-k])*(ls[k]);
   ^
0_0_35939730_5368.cpp:23:8: error: 'gq' was not declared in this scope
   sum+=gq[n]/(gq[k]*gq[n-k])*(ls[k]);
        ^
0_0_35939730_5368.cpp:23:31: error: 'ls' was not declared in this scope
   sum+=gq[n]/(gq[k]*gq[n-k])*(ls[k]);
                               ^
0_0_35939730_5368.cpp:25:19: error: 'sum' was not declared in this scope
  printf("%I64d\n",sum+1);
                   ^


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-14 17:27:19, Gzip enabled