Run id: 148257
Main.cc:32:8: error: redefinition of 'struct student'
struct student {
^
Main.cc:3:8: error: previous definition of 'struct student'
struct student {
^
Main.cc:35:9: error: conflicting declaration 'int gra [101]'
}gra[101];
^
Main.cc:6:2: note: previous declaration as 'student gra [101]'
}gra[101];
^
Main.cc: In function 'bool cmp(student, student)':
Main.cc:36:6: error: redefinition of 'bool cmp(student, student)'
bool cmp(student x,student y){
^
Main.cc:7:6: note: 'bool cmp(student, student)' previously defined here
bool cmp(student x,student y){
^
Main.cc: In function 'int main()':
Main.cc:45:5: error: redefinition of 'int main()'
int main(){
^
Main.cc:16:5: note: 'int main()' previously defined here
int main(){
^