全wa但下载测试数据后测试是对的,求大佬们看看使什么问题?

P5738 【深基7.例4】歌唱比赛

```plain main.c: In function 'main': main.c:10:9: warning: unused variable 'cap2' [-Wunused-variable] 10 | int cap2[100]; | ^~~~ main.c: In function 'average': main.c:62:22: warning: 'num2' may be used uninitialized in this function [-Wmaybe-uninitialized] 62 | sum=(sum-num1-num2)/(m-2); | ~~~~~~~~~^~~~~~ main.c:62:17: warning: 'num1' may be used uninitialized in this function [-Wmaybe-uninitialized] 62 | sum=(sum-num1-num2)/(m-2); | ~~~^~~~~ main.c:39:8: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] 39 | sum+=b[j]; | ~~~^~~~~~ ```
by ud2_ @ 2021-12-09 00:22:09


|