/in/foo.cc: In function 'bool f(student, student)':
/in/foo.cc:15:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (a.score>b.score || a.score==b.score && a.x>b.x);
~~~~~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:30:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=5;i++)
^~~
/in/foo.cc:32:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
system("pause");
^~~~~~
/in/foo.cc:20:11: warning: unused variable 'j' [-Wunused-variable]
int n,i,j;
^