0_0_14703280_13427\Main.java:1: 错误: 非法字符: '#'
#include <cstring>
^
0_0_14703280_13427\Main.java:1: 错误: 需要class, interface或enum
#include <cstring>
^
0_0_14703280_13427\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_14703280_13427\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_14703280_13427\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14703280_13427\Main.java:5: 错误: 非法字符: '#'
#include <vector>
^
0_0_14703280_13427\Main.java:10: 错误: 非法字符: '#'
#define NN 802
^
0_0_14703280_13427\Main.java:10: 错误: 需要class, interface或enum
#define NN 802
^
0_0_14703280_13427\Main.java:17: 错误: 需要class, interface或enum
int q[NN], prev[NN];
^
0_0_14703280_13427\Main.java:19: 错误: 需要class, interface或enum
int dinic( int n, int s, int t )
^
0_0_14703280_13427\Main.java:23: 错误: 需要class, interface或enum
while( true )
^
0_0_14703280_13427\Main.java:27: 错误: 需要class, interface或enum
int qf = 0, qb = 0;
^
0_0_14703280_13427\Main.java:28: 错误: 需要class, interface或enum
prev[q[qb++] = s] = -2;
^
0_0_14703280_13427\Main.java:29: 错误: 需要class, interface或enum
while( qb > qf && prev[t] == -1 )
^
0_0_14703280_13427\Main.java:30: 错误: 需要class, interface或enum
for( int u = q[qf++], i = 0, v; i < deg[u]; i++ )
^
0_0_14703280_13427\Main.java:30: 错误: 需要class, interface或enum
for( int u = q[qf++], i = 0, v; i < deg[u]; i++ )
^
0_0_14703280_13427\Main.java:35: 错误: 需要class, interface或enum
if( prev[t] == -1 ) break;
^
0_0_14703280_13427\Main.java:38: 错误: 需要class, interface或enum
for( int z = 0; z < n; z++ ) if( cap[z][t] && prev[z] != -1 )
^
0_0_14703280_13427\Main.java:38: 错误: 需要class, interface或enum
for( int z = 0; z < n; z++ ) if( cap[z][t] && prev[z] != -1 )
^
0_0_14703280_13427\Main.java:38: 错误: 需要class, interface或enum
for( int z = 0; z < n; z++ ) if( cap[z][t] && prev[z] != -1 )
^
0_0_14703280_13427\Main.java:41: 错误: 需要class, interface或enum
for( int v = z, u = prev[v]; u >= 0; v = u, u = prev[v] )
^
0_0_14703280_13427\Main.java:41: 错误: 需要class, interface或enum
for( int v = z, u = prev[v]; u >= 0; v = u, u = prev[v] )
^
0_0_14703280_13427\Main.java:41: 错误: 需要class, interface或enum
for( int v = z, u = prev[v]; u >= 0; v = u, u = prev[v] )
^
0_0_14703280_13427\Main.java:43: 错误: 需要class, interface或enum
if( !bot ) continue;
^
0_0_14703280_13427\Main.java:45: 错误: 需要class, interface或enum
cap[z][t] -= bot;
^
0_0_14703280_13427\Main.java:46: 错误: 需要class, interface或enum
cap[t][z] += bot;
^
0_0_14703280_13427\Main.java:47: 错误: 需要class, interface或enum
for( int v = z, u = prev[v]; u >= 0; v = u, u = prev[v] )
^
0_0_14703280_13427\Main.java:47: 错误: 需要class, interface或enum
for( int v = z, u = prev[v]; u >= 0; v = u, u = prev[v] )
^
0_0_14703280_13427\Main.java:47: 错误: 需要class, interface或enum
for( int v = z, u = prev[v]; u >= 0; v = u, u = prev[v] )
^
0_0_14703280_13427\Main.java:50: 错误: 需要class, interface或enum
cap[v][u] += bot;
^
0_0_14703280_13427\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:61: 错误: 需要class, interface或enum
int main(void)
^
0_0_14703280_13427\Main.java:66: 错误: 需要class, interface或enum
int start = f + d + n * 2, end = f + d + 1 + n * 2;
^
0_0_14703280_13427\Main.java:67: 错误: 需要class, interface或enum
int foodBase = n * 2;
^
0_0_14703280_13427\Main.java:68: 错误: 需要class, interface或enum
int drinkBase = foodBase + f;
^
0_0_14703280_13427\Main.java:70: 错误: 需要class, interface或enum
for(int i=0;i<n;i++) cap[i][n + i] = 1;
^
0_0_14703280_13427\Main.java:70: 错误: 需要class, interface或enum
for(int i=0;i<n;i++) cap[i][n + i] = 1;
^
0_0_14703280_13427\Main.java:70: 错误: 需要class, interface或enum
for(int i=0;i<n;i++) cap[i][n + i] = 1;
^
0_0_14703280_13427\Main.java:71: 错误: 需要class, interface或enum
for(int i=0;i<f;i++)
^
0_0_14703280_13427\Main.java:71: 错误: 需要class, interface或enum
for(int i=0;i<f;i++)
^
0_0_14703280_13427\Main.java:71: 错误: 需要class, interface或enum
for(int i=0;i<f;i++)
^
0_0_14703280_13427\Main.java:74: 错误: 需要class, interface或enum
scanf("%d", &curFood);
^
0_0_14703280_13427\Main.java:75: 错误: 需要class, interface或enum
cap[start][foodBase + i] = curFood;
^
0_0_14703280_13427\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:77: 错误: 需要class, interface或enum
for(int i=0;i<d;i++)
^
0_0_14703280_13427\Main.java:77: 错误: 需要class, interface或enum
for(int i=0;i<d;i++)
^
0_0_14703280_13427\Main.java:80: 错误: 需要class, interface或enum
scanf("%d", &curDrink);
^
0_0_14703280_13427\Main.java:81: 错误: 需要class, interface或enum
cap[drinkBase + i][end] = curDrink;
^
0_0_14703280_13427\Main.java:82: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:84: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_14703280_13427\Main.java:84: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_14703280_13427\Main.java:87: 错误: 需要class, interface或enum
scanf("%s", str);
^
0_0_14703280_13427\Main.java:88: 错误: 需要class, interface或enum
for(int j=0;j<f;j++) if(str[j] == 'Y') cap[foodBase + j][i] = 1;
^
0_0_14703280_13427\Main.java:88: 错误: 需要class, interface或enum
for(int j=0;j<f;j++) if(str[j] == 'Y') cap[foodBase + j][i] = 1;
^
0_0_14703280_13427\Main.java:88: 错误: 需要class, interface或enum
for(int j=0;j<f;j++) if(str[j] == 'Y') cap[foodBase + j][i] = 1;
^
0_0_14703280_13427\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:91: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_14703280_13427\Main.java:91: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_14703280_13427\Main.java:94: 错误: 需要class, interface或enum
scanf("%s", str);
^
0_0_14703280_13427\Main.java:95: 错误: 需要class, interface或enum
for(int j=0;j<d;j++) if(str[j] == 'Y') cap[i + n][drinkBase + j] = 1;
^
0_0_14703280_13427\Main.java:95: 错误: 需要class, interface或enum
for(int j=0;j<d;j++) if(str[j] == 'Y') cap[i + n][drinkBase + j] = 1;
^
0_0_14703280_13427\Main.java:95: 错误: 需要class, interface或enum
for(int j=0;j<d;j++) if(str[j] == 'Y') cap[i + n][drinkBase + j] = 1;
^
0_0_14703280_13427\Main.java:96: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:99: 错误: 需要class, interface或enum
for( int u = 0; u <= end; u++ )
^
0_0_14703280_13427\Main.java:99: 错误: 需要class, interface或enum
for( int u = 0; u <= end; u++ )
^
0_0_14703280_13427\Main.java:99: 错误: 需要class, interface或enum
for( int u = 0; u <= end; u++ )
^
0_0_14703280_13427\Main.java:100: 错误: 需要class, interface或enum
for( int v = 0; v <= end; v++ ) if( cap[u][v] || cap[v][u] )
^
0_0_14703280_13427\Main.java:100: 错误: 需要class, interface或enum
for( int v = 0; v <= end; v++ ) if( cap[u][v] || cap[v][u] )
^
0_0_14703280_13427\Main.java:104: 错误: 需要class, interface或enum
printf( "%d\n", dinic( end + 1, start, end ) );
^
0_0_14703280_13427\Main.java:105: 错误: 需要class, interface或enum
}
^
0_0_14703280_13427\Main.java:108: 错误: 需要class, interface或enum
}
^
73 个错误
|