include iostream include vector using namespace std vector vector int

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include <iostream>
#include <vector>
using namespace std;
vector<vector<int,int> > g(100);
vector<bool> used;
vector<int> m;
bool try_kuhn(int v)
{
used[v] = true;
for(int i = 0; i < g[v].size(); ++i)
{
int to = g[v][i];
if(m[to] == -1 || !used[to] && try_kuhn(m[to]))
{
m[to] = v;
return true;
}
}
return false;
}
int main()
{
int n, m;
cin >> n >> m;
vector<vector<int,int> > a(n+2, vector<int,int>(m+2,0));
for(int i = 1 ; i < n; i++)
{
for(int j = 1; j < m; ++j)
{
cin >> a[i][j];
}
}
/*for(int i = 0; i < n; i++)
{
for(int j = 0; j < m; ++j)
{
if(a[i][j
}
}*/
}