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_21977593_7439.cpp:1:1: error: '__int64' does not name a type
 __int64 jc(__int64 a)
 ^
0_0_21977593_7439.cpp: In function 'int main()':
0_0_21977593_7439.cpp:12:2: error: '__int64' was not declared in this scope
  __int64 a,b,t,i,j,sum,x,k,ans,y;
  ^
0_0_21977593_7439.cpp:13:34: error: 'a' was not declared in this scope
  while(~scanf("%I64d%I64d%I64d",&a,&b,&t))
                                  ^
0_0_21977593_7439.cpp:13:37: error: 'b' was not declared in this scope
  while(~scanf("%I64d%I64d%I64d",&a,&b,&t))
                                     ^
0_0_21977593_7439.cpp:13:40: error: 't' was not declared in this scope
  while(~scanf("%I64d%I64d%I64d",&a,&b,&t))
                                        ^
0_0_21977593_7439.cpp:13:41: error: 'scanf' was not declared in this scope
  while(~scanf("%I64d%I64d%I64d",&a,&b,&t))
                                         ^
0_0_21977593_7439.cpp:15:3: error: 'x' was not declared in this scope
   x=t/15;
   ^
0_0_21977593_7439.cpp:16:3: error: 'k' was not declared in this scope
   k=x/2;
   ^
0_0_21977593_7439.cpp:18:3: error: 'y' was not declared in this scope
   y=b-a+1;
   ^
0_0_21977593_7439.cpp:19:3: error: 'sum' was not declared in this scope
   sum=(x+1)/2;
   ^
0_0_21977593_7439.cpp:20:3: error: 'ans' was not declared in this scope
   ans=0;
   ^
0_0_21977593_7439.cpp:21:7: error: 'i' was not declared in this scope
   for(i=0;i<=sum;i++)
       ^
0_0_21977593_7439.cpp:22:8: error: 'j' was not declared in this scope
    for(j=0;j<=sum-i;j++)
        ^
0_0_21977593_7439.cpp:24:17: error: 'jc' was not declared in this scope
      ans+=jc(sum)/(jc(sum-i-j)*jc(j)*jc(i));
                 ^
0_0_21977593_7439.cpp:25:23: error: 'printf' was not declared in this scope
   printf("%I64d\n",ans);
                       ^


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-10-06 16:22:28, Gzip enabled