foo.c: In function 'main':
foo.c:23:16: error: 'temp' undeclared (first use in this function)
23 | t-=10; temp=t;
| ^~~~
foo.c:23:16: note: each undeclared identifier is reported only once for each function it appears in
foo.c:36:46: error: 'sxore2' undeclared (first use in this function); did you mean 'score2'?
36 | else{sxore2=y;}
| ^~~~~~
| score2
foo.c:40:9: error: 'score' undeclared (first use in this function); did you mean 'score2'?
40 | score=score2-score1;
| ^~~~~
| score2
[Hydro](https://hydro.ac)提供评测服务