0_0_17186789_912.cpp:51:13: error: redefinition of 'std::map<int, int> mp'
map<int,int>mp;
^
0_0_17186789_912.cpp:7:13: note: 'std::map<int, int> mp' previously declared here
map<int,int>mp;
^
0_0_17186789_912.cpp:52:11: error: redefinition of 'const int MOD'
const int MOD=2008;
^
0_0_17186789_912.cpp:8:11: note: 'const int MOD' previously defined here
const int MOD=2008;
^
0_0_17186789_912.cpp: In function 'int fun(int, int)':
0_0_17186789_912.cpp:53:5: error: redefinition of 'int fun(int, int)'
int fun(int a,int n){ //a的n次方
^
0_0_17186789_912.cpp:9:5: note: 'int fun(int, int)' previously defined here
int fun(int a,int n){ //a的n次方
^
0_0_17186789_912.cpp: In function 'int cal(int)':
0_0_17186789_912.cpp:61:5: error: redefinition of 'int cal(int)'
int cal(int n){
^
0_0_17186789_912.cpp:17:5: note: 'int cal(int)' previously defined here
int cal(int n){
^
0_0_17186789_912.cpp: In function 'int main()':
0_0_17186789_912.cpp:76:5: error: redefinition of 'int main()'
int main()
^
0_0_17186789_912.cpp:32:5: note: 'int main()' previously defined here
int main()
^
|