foo.cc: In function 'int main()':
foo.cc:16:19: warning: unused variable 'j' [-Wunused-variable]
int jxjzs=0,i,j,maxjxj=-345565;
^
foo.cc:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:22:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %c %c %d",&stu[i].qm,&stu[i].py,&stu[i].xsgb,&stu[i].xbsf,&stu[i].lw);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~