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);
^
|