/in/foo.cc: In member function 'bool Node::operator<(const Node&)':
/in/foo.cc:12:25: error: 'const struct Node' has no member named 'all'; did you mean 'All'?
return this->All > b.all;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:55: warning: too many arguments for format [-Wformat-extra-args]
scanf("%d", &a[i].Chinese, &a[i].Math, &a[i].English);
^
/in/foo.cc:27:23: error: 'sort' was not declared in this scope
sort(a + 1, a + n + 1);
^
/in/foo.cc:27:23: note: suggested alternative:
In file included from /usr/include/c++/6/algorithm:62:0,
from /in/foo.cc:4:
/usr/include/c++/6/bits/stl_algo.h:4727:5: note: 'std::sort'
sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
^~~~