/in/foo.cc:152:5: error: redefinition of 'int t'
int t,p,n1,n2,n,m;
^
/in/foo.cc:4:5: note: 'int t' previously declared here
int t,p,n1,n2,n,m;
^
/in/foo.cc:152:7: error: redefinition of 'int p'
int t,p,n1,n2,n,m;
^
/in/foo.cc:4:7: note: 'int p' previously declared here
int t,p,n1,n2,n,m;
^
/in/foo.cc:152:9: error: redefinition of 'int n1'
int t,p,n1,n2,n,m;
^~
/in/foo.cc:4:9: note: 'int n1' previously declared here
int t,p,n1,n2,n,m;
^~
/in/foo.cc:152:12: error: redefinition of 'int n2'
int t,p,n1,n2,n,m;
^~
/in/foo.cc:4:12: note: 'int n2' previously declared here
int t,p,n1,n2,n,m;
^~
/in/foo.cc:152:15: error: redefinition of 'int n'
int t,p,n1,n2,n,m;
^
/in/foo.cc:4:15: note: 'int n' previously declared here
int t,p,n1,n2,n,m;
^
/in/foo.cc:152:17: error: redefinition of 'int m'
int t,p,n1,n2,n,m;
^
/in/foo.cc:4:17: note: 'int m' previously declared here
int t,p,n1,n2,n,m;
^
/in/foo.cc:153:13: error: redefinition of 'int prime [10]'
int prime[10],fang[10],last[1000056];
^
/in/foo.cc:5:5: note: 'int prime [10]' previously declared here
int prime[10],fang[10],last[1000056];
^~~~~
/in/foo.cc:153:22: error: redefinition of 'int fang [10]'
int prime[10],fang[10],last[1000056];
^
/in/foo.cc:5:15: note: 'int fang [10]' previously declared here
int prime[10],fang[10],last[1000056];
^~~~
/in/foo.cc:153:36: error: redefinition of 'int last [1000056]'
int prime[10],fang[10],last[1000056];
^
/in/foo.cc:5:24: note: 'int last [1000056]' previously declared here
int prime[10],fang[10],last[1000056];
^~~~
/in/foo.cc:154:10: error: redefinition of 'int a1 [50]'
int a1[50],a2[50];
^
/in/foo.cc:6:5: note: 'int a1 [50]' previously declared here
int a1[50],a2[50];
^~
/in/foo.cc:154:17: error: redefinition of 'int a2 [50]'
int a1[50],a2[50];
^
/in/foo.cc:6:12: note: 'int a2 [50]' previously declared here
int a1[50],a2[50];
^~
/in/foo.cc:155:4: error: redefinition of 'long long int ans'
LL ans;
^~~
/in/foo.cc:7:4: note: 'long long int ans' previously declared here
LL ans;
^~~
/in/foo.cc: In function 'void pre()':
/in/foo.cc:156:13: error: redefinition of 'void pre()'
inline void pre()
^~~
/in/foo.cc:8:13: note: 'void pre()' previously defined here
inline void pre()
^~~
/in/foo.cc: In function 'int exgcd(int, int, int, int&, int&)':
/in/foo.cc:173:12: error: redefinition of 'int exgcd(int, int, int, int&, int&)'
inline int exgcd(int a,int b,int c,int &x,int &y)
^~~~~
/in/foo.cc:25:12: note: 'int exgcd(int, int, int, int&, int&)' previously defined here
inline int exgcd(int a,int b,int c,int &x,int &y)
^~~~~
/in/foo.cc: In function 'int getniyuan(int, int)':
/in/foo.cc:183:12: error: redefinition of 'int getniyuan(int, int)'
inline int getniyuan(int a,int b)
^~~~~~~~~
/in/foo.cc:35:12: note: 'int getniyuan(int, int)' previously defined here
inline int getniyuan(int a,int b)
^~~~~~~~~
/in/foo.cc: In function 'int quickpow(int, int, int)':
/in/foo.cc:193:12: error: redefinition of 'int quickpow(int, int, int)'
inline int quickpow(int a,int b,int mod)
^~~~~~~~
/in/foo.cc:45:12: note: 'int quickpow(int, int, int)' previously defined here
inline int quickpow(int a,int b,int mod)
^~~~~~~~
/in/foo.cc: In function 'int reduce(int, int, int, int)':
/in/foo.cc:204:12: error: redefinition of 'int reduce(int, int, int, int)'
inline int reduce(int m,int qianzhui,int mod,int zong)
^~~~~~
/in/foo.cc:56:12: note: 'int reduce(int, int, int, int)' previously defined here
inline int reduce(int m,int qianzhui,int mod,int zong)
^~~~~~
/in/foo.cc: In function 'int calc(int, int, int, int)':
/in/foo.cc:210:12: error: redefinition of 'int calc(int, int, int, int)'
inline int calc(int m,int n,int zong,int mod)
^~~~
/in/foo.cc:62:12: note: 'int calc(int, int, int, int)' previously defined here
inline int calc(int m,int n,int zong,int mod)
^~~~
/in/foo.cc: In function 'int Lucas(int, int)':
/in/foo.cc:227:12: error: redefinition of 'int Lucas(int, int)'
inline int Lucas(int m,int n)
^~~~~
/in/foo.cc:79:12: note: 'int Lucas(int, int)' previously defined here
inline int Lucas(int m,int n)
^~~~~
/in/foo.cc: In function 'void work()':
/in/foo.cc:244:13: error: redefinition of 'void work()'
inline void work()
^~~~
/in/foo.cc:96:13: note: 'void work()' previously defined here
inline void work()
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:265:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:117:5: note: 'int main()' previously defined here
int main()
^~~~