0_0_17201134_21003.cpp: In function 'int Pow(int, int)':
0_0_17201134_21003.cpp:79:5: error: redefinition of 'int Pow(int, int)'
int Pow(int a,int b)
^
0_0_17201134_21003.cpp:18:5: note: 'int Pow(int, int)' previously defined here
int Pow(int a,int b)
^
0_0_17201134_21003.cpp: In function 'int solve(int)':
0_0_17201134_21003.cpp:99:16: error: ambiguating new declaration of 'int solve(int)'
int solve(int n)
^
0_0_17201134_21003.cpp:38:6: note: old declaration 'void solve(int)'
void solve(int n)
^
0_0_17201134_21003.cpp: In function 'int main()':
0_0_17201134_21003.cpp:119:5: error: redefinition of 'int main()'
int main()
^
0_0_17201134_21003.cpp:62:5: note: 'int main()' previously defined here
int main()
^
0_0_17201134_21003.cpp:127:43: error: invalid use of void expression
printf("Case #%d: %d\n",i,solve(n));
^
|