0_0_34758073_22128.cpp:7:18: error: expected unqualified-id before '...' token
namespace MCMF { ... }
^
0_0_34758073_22128.cpp: In function 'void init()':
0_0_34758073_22128.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_34758073_22128.cpp:8:73: note: suggested alternative:
0_0_34758073_22128.cpp:8:6: note: 'init'
void init() { memset(ecnt, 0, sizeof ecnt); memset(deg, 0, sizeof deg); MCMF::init(); }
^
0_0_34758073_22128.cpp: In function 'int main()':
0_0_34758073_22128.cpp:20:1: error: 'add' is not a member of 'MCMF'
MCMF::add(tot, i, 1, 0); MCMF::add(tot, j, 1, 0); tot++;
^
0_0_34758073_22128.cpp:20:26: error: 'add' is not a member of 'MCMF'
MCMF::add(tot, i, 1, 0); MCMF::add(tot, j, 1, 0); tot++;
^
0_0_34758073_22128.cpp:24:1: error: 's' is not a member of 'MCMF'
MCMF::s = n+tot, MCMF::t = n+tot+1;
^
0_0_34758073_22128.cpp:24:1: note: suggested alternative:
0_0_34758073_22128.cpp:6:6: note: 's'
char s[202][202];
^
0_0_34758073_22128.cpp:24:18: error: 't' is not a member of 'MCMF'
MCMF::s = n+tot, MCMF::t = n+tot+1;
^
0_0_34758073_22128.cpp:25:33: 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_34758073_22128.cpp:25:43: 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_34758073_22128.cpp:25:43: note: suggested alternative:
0_0_34758073_22128.cpp:6:6: note: 's'
char s[202][202];
^
0_0_34758073_22128.cpp:29:35: 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_34758073_22128.cpp:29:48: 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_34758073_22128.cpp:31:1: error: 'MCMF' is not a member of 'MCMF'
MCMF::MCMF(); tmp += MCMF::ans;
^
0_0_34758073_22128.cpp:31:1: note: suggested alternative:
0_0_34758073_22128.cpp:7:16: note: 'MCMF'
namespace MCMF { ... }
^
0_0_34758073_22128.cpp:31:22: error: 'ans' is not a member of 'MCMF'
MCMF::MCMF(); tmp += MCMF::ans;
^
|