0_0_23627427_6680.cpp: In function 'void work()':
0_0_23627427_6680.cpp:10:33: error: 's' was not declared in this scope
S = n + m + n , T = S + 1 , s = T + 1 , t = s + 1;
^
0_0_23627427_6680.cpp:10:45: error: 't' was not declared in this scope
S = n + m + n , T = S + 1 , s = T + 1 , t = s + 1;
^
0_0_23627427_6680.cpp:12:37: error: 'scanf' was not declared in this scope
scanf("%d%d",&SS[i] , &TT[i]);
^
0_0_23627427_6680.cpp:15:32: error: 'scanf' was not declared in this scope
scanf("%d",&C[j][i]);
^
0_0_23627427_6680.cpp:18:32: error: 'scanf' was not declared in this scope
scanf("%d",&D[j][i]);
^
0_0_23627427_6680.cpp:21:32: error: 'scanf' was not declared in this scope
scanf("%d",&E[i][j]);
^
0_0_23627427_6680.cpp:24:32: error: 'scanf' was not declared in this scope
scanf("%d",&F[i][j]);
^
0_0_23627427_6680.cpp:25:12: error: 'pre' was not declared in this scope
memset(pre , -1 , sizeof(pre)) , mcnt = 0;
^
0_0_23627427_6680.cpp:25:34: error: 'memset' was not declared in this scope
memset(pre , -1 , sizeof(pre)) , mcnt = 0;
^
0_0_23627427_6680.cpp:25:38: error: 'mcnt' was not declared in this scope
memset(pre , -1 , sizeof(pre)) , mcnt = 0;
^
0_0_23627427_6680.cpp:28:38: error: 'addarc' was not declared in this scope
addarc(s , i << 1 | 1 , 1 , 0);
^
0_0_23627427_6680.cpp:33:29: error: 'addarc' was not declared in this scope
addarc(S , i , 1 , 0);
^
0_0_23627427_6680.cpp:39:48: error: 'addarc' was not declared in this scope
addarc(x , j << 1 , 1 , D[i][j]);
^
0_0_23627427_6680.cpp:41:72: error: 'addarc' was not declared in this scope
addarc(x , j << 1 , 1 , D[i][j] + K * (C[i][j] - SS[j]));
^
0_0_23627427_6680.cpp:48:57: error: 'addarc' was not declared in this scope
addarc(i << 1 | 1 , j << 1 , 1 , F[i][j]);
^
0_0_23627427_6680.cpp:50:75: error: 'addarc' was not declared in this scope
addarc(i << 1 | 1 , j << 1 , 1 , F[i][j] + K * (x - SS[j]));
^
0_0_23627427_6680.cpp:52:31: error: 'addarc' was not declared in this scope
addarc(T , S , 1 << 30 , 0);
^
0_0_23627427_6680.cpp:53:17: error: 'Mincostflow' was not declared in this scope
Mincostflow();
^
0_0_23627427_6680.cpp:54:9: error: 'maxflow' was not declared in this scope
if (maxflow != n)
^
0_0_23627427_6680.cpp:55:18: error: 'puts' was not declared in this scope
puts("-1");
^
0_0_23627427_6680.cpp:56:26: error: 'ans' was not declared in this scope
else printf("%d\n" , ans);
^
0_0_23627427_6680.cpp:56:29: error: 'printf' was not declared in this scope
else printf("%d\n" , ans);
^
|