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_37950710_18005.cpp:9:2: error: '__int64' does not name a type
  __int64 sum[MAX];
  ^
0_0_37950710_18005.cpp: In function 'void deal()':
0_0_37950710_18005.cpp:19:6: error: '__int64' was not declared in this scope
      __int64 ans=-1;
      ^
0_0_37950710_18005.cpp:29:13: error: 'sum' was not declared in this scope
          if(sum[t]%P<=K) ans=max(ans,sum[t]/P);
             ^
0_0_37950710_18005.cpp:29:26: error: 'ans' was not declared in this scope
          if(sum[t]%P<=K) ans=max(ans,sum[t]/P);
                          ^
0_0_37950710_18005.cpp:29:46: error: 'max' was not declared in this scope
          if(sum[t]%P<=K) ans=max(ans,sum[t]/P);
                                              ^
0_0_37950710_18005.cpp:32:14: error: 'ans' was not declared in this scope
              ans=max(ans,(sum[t]-sum[Q[head].pos])/P);
              ^
0_0_37950710_18005.cpp:32:27: error: 'sum' was not declared in this scope
              ans=max(ans,(sum[t]-sum[Q[head].pos])/P);
                           ^
0_0_37950710_18005.cpp:32:53: error: 'max' was not declared in this scope
              ans=max(ans,(sum[t]-sum[Q[head].pos])/P);
                                                     ^
0_0_37950710_18005.cpp:35:38: error: 'ans' was not declared in this scope
      printf("Case %d: %I64d\n",++num,ans);
                                      ^
0_0_37950710_18005.cpp:35:41: error: 'printf' was not declared in this scope
      printf("Case %d: %I64d\n",++num,ans);
                                         ^
0_0_37950710_18005.cpp: In function 'int main()':
0_0_37950710_18005.cpp:40:23: error: 'scanf' was not declared in this scope
      for(scanf("%d",&C);C--;)
                       ^
0_0_37950710_18005.cpp:43:10: error: 'sum' was not declared in this scope
          sum[0]=0;
          ^
0_0_37950710_18005.cpp:52:28: error: 'sort' was not declared in this scope
          sort(a+1,a+n+1,cmp);
                            ^


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-29 05:58:27, Gzip enabled