0_0_33694677_15279.cpp: In function 'void exgcd(long long int, long long int, long long int&, long long int&, long long int&)':
0_0_33694677_15279.cpp:231:6: error: redefinition of 'void exgcd(long long int, long long int, long long int&, long long int&, long long int&)'
void exgcd(ll a,ll b,ll &d,ll &x,ll &y)
^
0_0_33694677_15279.cpp:25:6: note: 'void exgcd(long long int, long long int, long long int&, long long int&, long long int&)' previously defined here
void exgcd(ll a,ll b,ll &d,ll &x,ll &y)
^
0_0_33694677_15279.cpp: In function 'long long int inv(long long int, long long int)':
0_0_33694677_15279.cpp:240:5: error: redefinition of 'long long int inv(long long int, long long int)'
int inv(int b,int p)
^
0_0_33694677_15279.cpp:34:5: note: 'long long int inv(long long int, long long int)' previously defined here
int inv(int b,int p)
^
0_0_33694677_15279.cpp: At global scope:
0_0_33694677_15279.cpp:248:5: error: redefinition of 'long long int n'
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:42:5: note: 'long long int n' previously declared here
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:248:8: error: redefinition of 'long long int m'
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:42:8: note: 'long long int m' previously declared here
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:248:11: error: redefinition of 'long long int t'
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:42:11: note: 'long long int t' previously declared here
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:248:14: error: redefinition of 'long long int ans'
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:42:14: note: 'long long int ans' previously defined here
int n, m, t, ans = 1;
^
0_0_33694677_15279.cpp:249:5: error: redefinition of 'long long int ans1'
int ans1;int ans2;
^
0_0_33694677_15279.cpp:43:5: note: 'long long int ans1' previously declared here
int ans1;int ans2;
^
0_0_33694677_15279.cpp:249:14: error: redefinition of 'long long int ans2'
int ans1;int ans2;
^
0_0_33694677_15279.cpp:43:14: note: 'long long int ans2' previously declared here
int ans1;int ans2;
^
0_0_33694677_15279.cpp:250:11: error: redefinition of 'const long long int N'
const int N = 305;
^
0_0_33694677_15279.cpp:44:11: note: 'const long long int N' previously defined here
const int N = 305;
^
0_0_33694677_15279.cpp:251:15: error: redefinition of 'long long int a [105][105]'
int a[105][105];
^
0_0_33694677_15279.cpp:45:5: note: 'long long int a [105][105]' previously declared here
int a[105][105];
^
0_0_33694677_15279.cpp: In function 'long long int ksm(long long int, long long int, long long int)':
0_0_33694677_15279.cpp:253:5: error: redefinition of 'long long int ksm(long long int, long long int, long long int)'
int ksm(int a,int b,int p)
^
0_0_33694677_15279.cpp:47:5: note: 'long long int ksm(long long int, long long int, long long int)' previously defined here
int ksm(int a,int b,int p)
^
0_0_33694677_15279.cpp: In function 'void work()':
0_0_33694677_15279.cpp:260:6: error: redefinition of 'void work()'
void work()
^
0_0_33694677_15279.cpp:54:6: note: 'void work()' previously defined here
void work()
^
0_0_33694677_15279.cpp: In function 'void add(long long int, long long int, long long int)':
0_0_33694677_15279.cpp:275:6: error: redefinition of 'void add(long long int, long long int, long long int)'
void add(int x,int y,int z)
^
0_0_33694677_15279.cpp:69:6: note: 'void add(long long int, long long int, long long int)' previously defined here
void add(int x,int y,int z)
^
0_0_33694677_15279.cpp: At global scope:
0_0_33694677_15279.cpp:281:15: error: redefinition of 'long long int degree [105]'
int degree[105];
^
0_0_33694677_15279.cpp:75:5: note: 'long long int degree [105]' previously declared here
int degree[105];
^
0_0_33694677_15279.cpp:282:17: error: redefinition of 'long long int vis [105][105]'
int vis[105][105];
^
0_0_33694677_15279.cpp:76:5: note: 'long long int vis [105][105]' previously declared here
int vis[105][105];
^
0_0_33694677_15279.cpp:283:5: error: redefinition of 'long long int x'
int x, y, z;
^
0_0_33694677_15279.cpp:77:5: note: 'long long int x' previously declared here
int x, y, z;
^
0_0_33694677_15279.cpp:283:8: error: redefinition of 'long long int y'
int x, y, z;
^
0_0_33694677_15279.cpp:77:8: note: 'long long int y' previously declared here
int x, y, z;
^
0_0_33694677_15279.cpp:283:11: error: redefinition of 'long long int z'
int x, y, z;
^
0_0_33694677_15279.cpp:77:11: note: 'long long int z' previously declared here
int x, y, z;
^
0_0_33694677_15279.cpp:284:9: error: redefinition of 'long long int b [41]'
int b[41];
^
0_0_33694677_15279.cpp:78:5: note: 'long long int b [41]' previously declared here
int b[41];
^
0_0_33694677_15279.cpp:287:15: error: redefinition of 'long long int w [105][105]'
int w[105][105];
^
0_0_33694677_15279.cpp:81:5: note: 'long long int w [105][105]' previously declared here
int w[105][105];
^
0_0_33694677_15279.cpp:288:8: error: redefinition of 'struct note'
struct note
^
0_0_33694677_15279.cpp:82:8: error: previous definition of 'struct note'
struct note
^
0_0_33694677_15279.cpp:291:7: error: invalid type in declaration before ';' token
}e[mm];
^
0_0_33694677_15279.cpp:291:7: error: conflicting declaration 'int e [1000007]'
0_0_33694677_15279.cpp:85:2: note: previous declaration as 'note e [1000007]'
}e[mm];
^
0_0_33694677_15279.cpp: In function 'long long int det(long long int)':
0_0_33694677_15279.cpp:297:4: error: redefinition of 'long long int det(long long int)'
ll det(int n)
^
0_0_33694677_15279.cpp:91:4: note: 'long long int det(long long int)' previously defined here
ll det(int n)
^
0_0_33694677_15279.cpp: In function 'void init()':
0_0_33694677_15279.cpp:324:6: error: redefinition of 'void init()'
void init()
^
0_0_33694677_15279.cpp:118:6: note: 'void init()' previously defined here
void init()
^
0_0_33694677_15279.cpp: In function 'int main()':
0_0_33694677_15279.cpp:334:8: error: redefinition of 'int main()'
signed main()
^
0_0_33694677_15279.cpp:128:8: note: 'int main()' previously defined here
signed main()
^
|