foo.cpp:118:2: error: stray '#' in program
}#include<iostream>
^
foo.cpp:118:3: error: 'include' does not name a type
}#include<iostream>
^
foo.cpp:124:11: error: redefinition of 'const int maxn'
const int maxn = 80 + 5;
^
foo.cpp:7:11: error: 'const int maxn' previously defined here
const int maxn = 80 + 5;
^
foo.cpp:126:8: error: redefinition of 'struct bignum'
struct bignum{
^
foo.cpp:9:8: error: previous definition of 'struct bignum'
struct bignum{
^
foo.cpp:194:11: error: redefinition of 'int a [85]'
int a[maxn]={0};
^
foo.cpp:77:5: error: 'int a [85]' previously defined here
int a[maxn]={0};
^
foo.cpp:195:20: error: redefinition of 'bignum d [85][85]'
bignum d[maxn][maxn];//d[i][j]:??????i?j????????
^
foo.cpp:78:8: error: 'bignum d [85][85]' previously declared here
bignum d[maxn][maxn];//d[i][j]:??????i?j????????
^
foo.cpp:196:5: error: redefinition of 'int n'
int n, m;
^
foo.cpp:79:5: error: 'int n' previously declared here
int n, m;
^
foo.cpp:196:8: error: redefinition of 'int m'
int n, m;
^
foo.cpp:79:8: error: 'int m' previously declared here
int n, m;
^
foo.cpp: In function 'int main()':
foo.cpp:197:5: error: redefinition of 'int main()'
int main(){
^
foo.cpp:80:5: error: 'int main()' previously defined here
int main(){
^