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_32289756_22934.cpp:3:1: error: '_int64' does not name a type
 _int64  x[N];
 ^
0_0_32289756_22934.cpp:4:1: error: '_int64' does not name a type
 _int64 dp[N];
 ^
0_0_32289756_22934.cpp:7:1: error: '_int64' does not name a type
 _int64 c;
 ^
0_0_32289756_22934.cpp:9:1: error: '_int64' does not name a type
 _int64 getDp(int i,int j)
 ^
0_0_32289756_22934.cpp:13:1: error: '_int64' does not name a type
 _int64 getUp(int j,int k)
 ^
0_0_32289756_22934.cpp:17:1: error: '_int64' does not name a type
 _int64 getDown(int j,int k)
 ^
0_0_32289756_22934.cpp: In function 'int main()':
0_0_32289756_22934.cpp:24:28: error: 'c' was not declared in this scope
  while(scanf("%d%I64d",&n,&c)!=-1&&(n+c))
                            ^
0_0_32289756_22934.cpp:27:16: error: 'x' was not declared in this scope
    scanf("%d",&x[i]);
                ^
0_0_32289756_22934.cpp:28:3: error: 'dp' was not declared in this scope
   dp[0]=0;
   ^
0_0_32289756_22934.cpp:33:46: error: 'getUp' was not declared in this scope
    while(head+1<tail&&getUp(q[head+1],q[head])<=x[i]*getDown(q[head+1],q[head]))
                                              ^
0_0_32289756_22934.cpp:33:49: error: 'x' was not declared in this scope
    while(head+1<tail&&getUp(q[head+1],q[head])<=x[i]*getDown(q[head+1],q[head]))
                                                 ^
0_0_32289756_22934.cpp:33:79: error: 'getDown' was not declared in this scope
    while(head+1<tail&&getUp(q[head+1],q[head])<=x[i]*getDown(q[head+1],q[head]))
                                                                               ^
0_0_32289756_22934.cpp:35:25: error: 'getDp' was not declared in this scope
    dp[i]=getDp(i,q[head]);
                         ^
0_0_32289756_22934.cpp:36:48: error: 'getUp' was not declared in this scope
    while(head+1<tail&&getUp(q[tail-1],q[tail-2])*getDown(i,q[tail-1])>=getUp(i,q[tail-1])*getDown(q[tail-1],q[tail-2]))
                                                ^
0_0_32289756_22934.cpp:36:69: error: 'getDown' was not declared in this scope
    while(head+1<tail&&getUp(q[tail-1],q[tail-2])*getDown(i,q[tail-1])>=getUp(i,q[tail-1])*getDown(q[tail-1],q[tail-2]))
                                                                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 07:42:01, Gzip enabled