foo.cpp:74:2: error: stray '#' in program
}#include<cstdio>
^
foo.cpp:74:3: error: 'include' does not name a type
}#include<cstdio>
^
foo.cpp:81:18: error: redefinition of 'double a [102][102]'
double a[102][102];
^
foo.cpp:8:8: note: 'double a [102][102]' previously declared here
double a[102][102];
^
foo.cpp:82:5: error: redefinition of 'int i'
int i, j, n;
^
foo.cpp:9:5: note: 'int i' previously declared here
int i, j, n;
^
foo.cpp:82:8: error: redefinition of 'int j'
int i, j, n;
^
foo.cpp:9:8: note: 'int j' previously declared here
int i, j, n;
^
foo.cpp:82:11: error: redefinition of 'int n'
int i, j, n;
^
foo.cpp:9:11: note: 'int n' previously declared here
int i, j, n;
^
foo.cpp: In function 'void swap(int, int)':
foo.cpp:84:6: error: redefinition of 'void swap(int, int)'
void swap(int x, int y)
^
foo.cpp:11:6: note: 'void swap(int, int)' previously defined here
void swap(int x, int y)
^
foo.cpp: In function 'void elimate(int, int)':
foo.cpp:93:6: error: redefinition of 'void elimate(int, int)'
void elimate(int x, int y)
^
foo.cpp:20:6: note: 'void elimate(int, int)' previously defined here
void elimate(int x, int y)
^
foo.cpp: In function 'int main()':
foo.cpp:102:5: error: redefinition of 'int main()'
int main()
^
foo.cpp:29:5: note: 'int main()' previously defined here
int main()
^