0_0_28839362_23438.cpp:110:11: error: redefinition of 'int p [1000006]'
int p[maxn];
^
0_0_28839362_23438.cpp:12:5: note: 'int p [1000006]' previously declared here
int p[maxn];
^
0_0_28839362_23438.cpp:111:15: error: redefinition of 'int prime [1000006]'
int prime[maxn],res,num;
^
0_0_28839362_23438.cpp:13:5: note: 'int prime [1000006]' previously declared here
int prime[maxn],res,num;
^
0_0_28839362_23438.cpp:111:17: error: redefinition of 'int res'
int prime[maxn],res,num;
^
0_0_28839362_23438.cpp:13:17: note: 'int res' previously declared here
int prime[maxn],res,num;
^
0_0_28839362_23438.cpp:111:21: error: redefinition of 'int num'
int prime[maxn],res,num;
^
0_0_28839362_23438.cpp:13:21: note: 'int num' previously declared here
int prime[maxn],res,num;
^
0_0_28839362_23438.cpp:112:19: error: redefinition of 'bool is_prime [2000006]'
bool is_prime[maxm];
^
0_0_28839362_23438.cpp:14:6: note: 'bool is_prime [2000006]' previously declared here
bool is_prime[maxm];
^
0_0_28839362_23438.cpp: In function 'void get_prime()':
0_0_28839362_23438.cpp:113:6: error: redefinition of 'void get_prime()'
void get_prime() //得到素数表
^
0_0_28839362_23438.cpp:15:6: note: 'void get_prime()' previously defined here
void get_prime() //得到素数表
^
0_0_28839362_23438.cpp: In function 'void divide1(int)':
0_0_28839362_23438.cpp:125:6: error: redefinition of 'void divide1(int)'
void divide1(int x) //分解x的质因数
^
0_0_28839362_23438.cpp:27:6: note: 'void divide1(int)' previously defined here
void divide1(int x) //分解x的质因数
^
0_0_28839362_23438.cpp: In function 'void divide2(int, bool)':
0_0_28839362_23438.cpp:139:6: error: redefinition of 'void divide2(int, bool)'
void divide2(int x,bool flag) //分解x!的质因数,flag判断是分子还是分母
^
0_0_28839362_23438.cpp:41:6: note: 'void divide2(int, bool)' previously defined here
void divide2(int x,bool flag) //分解x!的质因数,flag判断是分子还是分母
^
0_0_28839362_23438.cpp: In function 'll make(ll, ll)':
0_0_28839362_23438.cpp:156:4: error: redefinition of 'll make(ll, ll)'
ll make(ll x,ll y) //x,y不知为何用int就不行,得到x^y。
^
0_0_28839362_23438.cpp:58:4: note: 'll make(ll, ll)' previously defined here
ll make(ll x,ll y) //x,y不知为何用int就不行,得到x^y。
^
0_0_28839362_23438.cpp: In function 'll get_ans()':
0_0_28839362_23438.cpp:169:4: error: redefinition of 'll get_ans()'
ll get_ans()
^
0_0_28839362_23438.cpp:71:4: note: 'll get_ans()' previously defined here
ll get_ans()
^
0_0_28839362_23438.cpp: In function 'int main()':
0_0_28839362_23438.cpp:179:5: error: redefinition of 'int main()'
int main()
^
0_0_28839362_23438.cpp:81:5: note: 'int main()' previously defined here
int main()
^
|