0_0_38486533_9849.cpp: In constructor 'matrix::matrix()':
0_0_38486533_9849.cpp:55:25: error: 'memset' was not declared in this scope
memset(c, 0, sizeof(c));
^
0_0_38486533_9849.cpp: In member function 'void matrix::Guass()':
0_0_38486533_9849.cpp:69:18: error: 'j' was not declared in this scope
if (Zero(c[i][j])) continue;
^
0_0_38486533_9849.cpp: In member function 'void matrix::clear()':
0_0_38486533_9849.cpp:85:25: error: 'memset' was not declared in this scope
memset(c, 0, sizeof(c));
^
0_0_38486533_9849.cpp: In member function 'long long int Kirchhoff::solve(int, int)':
0_0_38486533_9849.cpp:106:51: error: lvalue required as left operand of assignment
for (int i = 1; i <= nn; i++) if (!(s & (1 << i = 1))) id[i] = ++cnt;
^
0_0_38486533_9849.cpp: In function 'int main()':
0_0_38486533_9849.cpp:126:27: error: 'memset' was not declared in this scope
memset(mp, 0, sizeof(mp));
^
0_0_38486533_9849.cpp:153:17: error: 'k' was not declared in this scope
for (int i = k )
^
0_0_38486533_9849.cpp:155:4: error: 'ans' was not declared in this scope
ans = add(ans, 1ll * Tree.solve(s, n) * tmp % mo * inv2 % mo);
^
0_0_38486533_9849.cpp:155:36: error: 's' was not declared in this scope
ans = add(ans, 1ll * Tree.solve(s, n) * tmp % mo * inv2 % mo);
^
0_0_38486533_9849.cpp:155:44: error: 'tmp' was not declared in this scope
ans = add(ans, 1ll * Tree.solve(s, n) * tmp % mo * inv2 % mo);
^
0_0_38486533_9849.cpp:156:3: error: expected primary-expression before '}' token
}
^
0_0_38486533_9849.cpp:156:3: error: expected ')' before '}' token
0_0_38486533_9849.cpp:156:3: error: expected primary-expression before '}' token
0_0_38486533_9849.cpp:157:20: error: 'ans' was not declared in this scope
printf("%lld\n", ans);
^
|