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_21104738_27799.cpp:4:1: error: '_int64' does not name a type
 _int64 dp[N],sum[N],a[N];
 ^
0_0_21104738_27799.cpp:12:1: error: '_int64' does not name a type
 _int64 getDP(int i,int j)
 ^
0_0_21104738_27799.cpp:16:1: error: '_int64' does not name a type
 _int64 getUP(int j,int k)
 ^
0_0_21104738_27799.cpp:20:1: error: '_int64' does not name a type
 _int64 getDOWN(int j,int k)
 ^
0_0_21104738_27799.cpp: In function 'int main()':
0_0_21104738_27799.cpp:30:16: error: 'a' was not declared in this scope
    scanf("%d",&a[i]);
                ^
0_0_21104738_27799.cpp:31:9: error: 'a' was not declared in this scope
   qsort(a+1,n,sizeof(a[1]),cmp);
         ^
0_0_21104738_27799.cpp:32:3: error: 'sum' was not declared in this scope
   sum[0]=0;
   ^
0_0_21104738_27799.cpp:35:9: error: 'dp' was not declared in this scope
         dp[0]=0;
         ^
0_0_21104738_27799.cpp:40:48: error: 'getUP' was not declared in this scope
      while(head+1<tail&&getUP(q[head+1],q[head])<=i*getDOWN(q[head+1],q[head]))
                                                ^
0_0_21104738_27799.cpp:40:78: error: 'getDOWN' was not declared in this scope
      while(head+1<tail&&getUP(q[head+1],q[head])<=i*getDOWN(q[head+1],q[head]))
                                                                              ^
0_0_21104738_27799.cpp:42:27: error: 'getDP' was not declared in this scope
      dp[i]=getDP(i,q[head]);
                           ^
0_0_21104738_27799.cpp:45:50: error: 'getUP' was not declared in this scope
      while(head+1<tail&&getUP(q[tail-1],q[tail-2])*getDOWN(j,q[tail-1])>=getUP(j,q[tail-1])*getDOWN(q[tail-1],q[tail-2]))
                                                  ^
0_0_21104738_27799.cpp:45:71: error: 'getDOWN' was not declared in this scope
      while(head+1<tail&&getUP(q[tail-1],q[tail-2])*getDOWN(j,q[tail-1])>=getUP(j,q[tail-1])*getDOWN(q[tail-1],q[tail-2]))
                                                                       ^


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-09-28 09:20:33, Gzip enabled