/in/foo.cc: In function 'int main()':
/in/foo.cc:31:37: error: 'xibu' was not declared in this scope
31 | if (a[i].qimo > 85&&xibu == 'Y') a[i] += 1000;
| ^~~~
/in/foo.cc:31:55: error: no match for 'operator+=' (operand types are 'student' and 'int')
31 | if (a[i].qimo > 85&&xibu == 'Y') a[i] += 1000;
| ~~~~~^~~~~~~
/in/foo.cc:32:39: error: 'ganbu' was not declared in this scope
32 | if (a[i].pingyi > 80&&ganbu == 'Y') a[i] += 850;
| ^~~~~
/in/foo.cc:32:58: error: no match for 'operator+=' (operand types are 'student' and 'int')
32 | if (a[i].pingyi > 80&&ganbu == 'Y') a[i] += 850;
| ~~~~~^~~~~~
/in/foo.cc:35:24: error: expected ';' before 'cout'
35 | sort(a,a+n,cmp)
| ^
| ;
36 | cout << a[0].name << endl << a[0].money << endl << sum;
| ~~~~