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