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_35967670_3194.cpp:17:9: error: '__int64_t' does not name a type
 typedef __int64_t LL;
         ^
0_0_35967670_3194.cpp:22:1: error: 'LL' does not name a type
 LL ans, dp[maxn];
 ^
0_0_35967670_3194.cpp: In function 'pii get(int, int)':
0_0_35967670_3194.cpp:40:2: error: 'dp' was not declared in this scope
  dp[0] = 0; f[0] = pii(0, 0);
  ^
0_0_35967670_3194.cpp:44:3: error: 'LL' was not declared in this scope
   LL v = (LL)y[i] * X + (LL)z[i] * Y;
   ^
0_0_35967670_3194.cpp:47:32: error: 'v' was not declared in this scope
    if (dp[j] <= dp[j - x[i]] + v) continue;
                                ^
0_0_35967670_3194.cpp:48:27: error: 'v' was not declared in this scope
    dp[j] = dp[j - x[i]] + v;
                           ^
0_0_35967670_3194.cpp:54:2: error: 'ans' was not declared in this scope
  ans = min(ans, (LL)f[k].x*f[k].y);
  ^
0_0_35967670_3194.cpp:54:18: error: 'LL' was not declared in this scope
  ans = min(ans, (LL)f[k].x*f[k].y);
                  ^
0_0_35967670_3194.cpp: In function 'int main()':
0_0_35967670_3194.cpp:69:3: error: 'ans' was not declared in this scope
   ans = 1LL << 62; s = 0;
   ^


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-11-26 19:45:58, Gzip enabled