0_0_30640774_8904.cpp:7:18: error: expected unqualified-id before '...' token
namespace MCMF { ... }
^
0_0_30640774_8904.cpp: In function 'void init()':
0_0_30640774_8904.cpp:8:73: error: 'init' is not a member of 'MCMF'
void init() { memset(ecnt, 0, sizeof ecnt); memset(deg, 0, sizeof deg); MCMF::init(); }
^
0_0_30640774_8904.cpp:8:73: note: suggested alternative:
0_0_30640774_8904.cpp:8:6: note: 'init'
void init() { memset(ecnt, 0, sizeof ecnt); memset(deg, 0, sizeof deg); MCMF::init(); }
^
0_0_30640774_8904.cpp: In function 'int main()':
0_0_30640774_8904.cpp:20:21: error: 'add' is not a member of 'MCMF'
MCMF::add(tot, i, 1, 0); MCMF::add(tot, j, 1, 0); tot++;
^
0_0_30640774_8904.cpp:20:46: error: 'add' is not a member of 'MCMF'
MCMF::add(tot, i, 1, 0); MCMF::add(tot, j, 1, 0); tot++;
^
0_0_30640774_8904.cpp:24:9: error: 's' is not a member of 'MCMF'
MCMF::s = n+tot, MCMF::t = n+tot+1;
^
0_0_30640774_8904.cpp:24:9: note: suggested alternative:
0_0_30640774_8904.cpp:6:6: note: 's'
char s[202][202];
^
0_0_30640774_8904.cpp:24:26: error: 't' is not a member of 'MCMF'
MCMF::s = n+tot, MCMF::t = n+tot+1;
^
0_0_30640774_8904.cpp:25:41: error: 'add' is not a member of 'MCMF'
for (int i = n+1; i < tot; i++) MCMF::add(MCMF::s, i, 1, 0);
^
0_0_30640774_8904.cpp:25:51: error: 's' is not a member of 'MCMF'
for (int i = n+1; i < tot; i++) MCMF::add(MCMF::s, i, 1, 0);
^
0_0_30640774_8904.cpp:25:51: note: suggested alternative:
0_0_30640774_8904.cpp:6:6: note: 's'
char s[202][202];
^
0_0_30640774_8904.cpp:29:47: error: 'add' is not a member of 'MCMF'
for (int j = 0; j < ecnt[i]; j++) MCMF::add(i, MCMF::t, 1, tt++);
^
0_0_30640774_8904.cpp:29:60: error: 't' is not a member of 'MCMF'
for (int j = 0; j < ecnt[i]; j++) MCMF::add(i, MCMF::t, 1, tt++);
^
0_0_30640774_8904.cpp:31:9: error: 'MCMF' is not a member of 'MCMF'
MCMF::MCMF(); tmp += MCMF::ans;
^
0_0_30640774_8904.cpp:31:9: note: suggested alternative:
0_0_30640774_8904.cpp:7:16: note: 'MCMF'
namespace MCMF { ... }
^
0_0_30640774_8904.cpp:31:30: error: 'ans' is not a member of 'MCMF'
MCMF::MCMF(); tmp += MCMF::ans;
^
|