0_0_32639345_7250.cpp:2:7: error: 'LL' does not name a type
const LL INF = 0x3f3f3f3f3f3f3f3f;
^
0_0_32639345_7250.cpp:6:1: error: 'LL' does not name a type
LL lx[N],ly[N];
^
0_0_32639345_7250.cpp:8:1: error: 'LL' does not name a type
LL pre[N];
^
0_0_32639345_7250.cpp:12:1: error: 'LL' does not name a type
LL slack[N];
^
0_0_32639345_7250.cpp: In function 'void Find(int)':
0_0_32639345_7250.cpp:16:5: error: 'LL' was not declared in this scope
LL px, py;
^
0_0_32639345_7250.cpp:17:8: error: expected ';' before 'yy'
LL yy = 0;
^
0_0_32639345_7250.cpp:18:8: error: expected ';' before 'd'
LL d;
^
0_0_32639345_7250.cpp:20:5: error: 'py' was not declared in this scope
py = 0;
^
0_0_32639345_7250.cpp:21:5: error: 'yy' was not declared in this scope
yy = 0;
^
0_0_32639345_7250.cpp:22:12: error: 'pre' was not declared in this scope
memset(pre, 0, sizeof(pre));
^
0_0_32639345_7250.cpp:22:31: error: 'memset' was not declared in this scope
memset(pre, 0, sizeof(pre));
^
0_0_32639345_7250.cpp:23:12: error: 'slack' was not declared in this scope
memset(slack, 0x3f3f3f3f, sizeof(slack));
^
0_0_32639345_7250.cpp:26:9: error: 'px' was not declared in this scope
px = linky[py];
^
0_0_32639345_7250.cpp:27:9: error: 'd' was not declared in this scope
d = INF;
^
0_0_32639345_7250.cpp:27:13: error: 'INF' was not declared in this scope
d = INF;
^
0_0_32639345_7250.cpp:31:31: error: 'lx' was not declared in this scope
if(slack[i] > lx[px] + ly[i] - ma[px][i])
^
0_0_32639345_7250.cpp:31:40: error: 'ly' was not declared in this scope
if(slack[i] > lx[px] + ly[i] - ma[px][i])
^
0_0_32639345_7250.cpp:38:17: error: 'lx' was not declared in this scope
lx[linky[i]] -= d;
^
0_0_32639345_7250.cpp:39:17: error: 'ly' was not declared in this scope
ly[i] += d;
^
0_0_32639345_7250.cpp: At global scope:
0_0_32639345_7250.cpp:53:1: error: 'LL' does not name a type
LL Km()
^
0_0_32639345_7250.cpp: In function 'int main(int, const char**)':
0_0_32639345_7250.cpp:78:23: error: 'scanf' was not declared in this scope
scanf("%d", &ncase);
^
0_0_32639345_7250.cpp:87:44: error: 'Km' was not declared in this scope
printf("Case #%d: %lld\n", nc, -Km());
^
0_0_32639345_7250.cpp:87:45: error: 'printf' was not declared in this scope
printf("Case #%d: %lld\n", nc, -Km());
^
|