foo.cc: In function 'int main()':
foo.cc:31:2: error: 'prinlt' was not declared in this scope
prinlt("%.2f\n",s[k].score);
^~~~~~
foo.cc:31:2: note: suggested alternative: 'printf'
prinlt("%.2f\n",s[k].score);
^~~~~~
printf
foo.cc:21:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %s %c %f",&s[i].sno,s[i].sname,&s[i].sex,&s[i].score);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务