foo.cc: In function ‘int main()’:
foo.cc:15:72: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
15 | if(stu[j][4]>stu[i][4] || stu[j][4]==stu[i][4] && stu[j][1]>stu[i][1] || stu[j][4]==stu[i][4] && stu[j][1]==stu[i][1] && stu[j][0]<stu[i][0]) imin=j;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:15:143: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
15 | if(stu[j][4]>stu[i][4] || stu[j][4]==stu[i][4] && stu[j][1]>stu[i][1] || stu[j][4]==stu[i][4] && stu[j][1]==stu[i][1] && stu[j][0]<stu[i][0]) imin=j;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~